Started GET "/" for ::1 at 2015-01-10 10:50:12 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (1.7ms) Completed 200 OK in 81ms (Views: 81.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 10:50:12 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 10:50:12 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 10:50:12 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 10:50:12 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 10:50:12 -0500 Started GET "/" for ::1 at 2015-01-10 10:52:27 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (1.3ms) Completed 200 OK in 72ms (Views: 71.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 10:52:27 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 10:52:27 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 10:52:27 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 10:52:27 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 10:52:27 -0500 Started GET "/" for ::1 at 2015-01-10 10:52:28 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 26ms (Views: 25.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 10:52:28 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 10:52:28 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 10:52:28 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 10:52:28 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 10:52:28 -0500 Started GET "/" for ::1 at 2015-01-10 10:53:32 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.8ms) Completed 200 OK in 56ms (Views: 55.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 10:53:33 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 10:53:33 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 10:53:33 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 10:53:33 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 10:53:33 -0500 Started GET "/" for ::1 at 2015-01-10 10:54:14 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (1.4ms) Completed 200 OK in 70ms (Views: 69.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 10:54:14 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 10:54:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 10:54:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 10:54:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 10:54:14 -0500 Started GET "/" for ::1 at 2015-01-10 10:54:14 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 35ms (Views: 35.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 10:54:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 10:54:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 10:54:14 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 10:54:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 10:54:14 -0500 Started GET "/" for ::1 at 2015-01-10 10:54:14 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) Completed 200 OK in 23ms (Views: 22.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 10:54:14 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 10:54:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 10:54:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 10:54:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 10:54:14 -0500 Started GET "/" for ::1 at 2015-01-10 10:57:28 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 27ms (Views: 27.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 10:57:28 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 10:57:28 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 10:57:28 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 10:57:28 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 10:57:28 -0500 Started GET "/" for ::1 at 2015-01-10 10:57:41 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) Rendered partials/_nav.haml (15.0ms) Completed 500 Internal Server Error in 83ms ActionView::Template::Error (undefined local variable or method `new_user_session' for #<#:0x007fb03233cea0>): 1: = link_to "Login", new_user_session app/views/partials/_nav.haml:1:in `_app_views_partials__nav_haml__1090246363671655403_70197360506260' app/views/layouts/application.haml:9:in `_app_views_layouts_application_haml___2164832208217665639_70197366539220' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (27.1ms) Started GET "/" for ::1 at 2015-01-10 10:58:01 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) Rendered partials/_nav.haml (1.4ms) Completed 200 OK in 25ms (Views: 24.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 10:58:01 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 10:58:01 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 10:58:01 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 10:58:01 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 10:58:01 -0500 Started GET "/users/sign_in" for ::1 at 2015-01-10 10:58:02 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (9.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (45.2ms) Rendered partials/_nav.haml (0.2ms) Completed 200 OK in 94ms (Views: 86.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 10:58:02 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 10:58:02 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 10:58:02 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 10:58:02 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 10:58:02 -0500 Started POST "/users/sign_in" for ::1 at 2015-01-10 10:58:08 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"mtTsBmjxazgyXXgHsiiCdHwuGi6hGeL4RwEc2NafNOoM+XD3mAD18dxvEoaIDmzlrUA8LGl9nFkgU1CPEkN1xQ==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"neilj.ny@gmail.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9760ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"last_sign_in_at"=>2015-01-10 15:21:45 UTC, "current_sign_in_at"=>2015-01-10 15:58:08 UTC, "current_sign_in_ip"=>"::1", "sign_in_count"=>6}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6700ms Redirected to http://localhost:3000/ Completed 302 Found in 100ms Started GET "/" for ::1 at 2015-01-10 10:58:08 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) Rendered partials/_nav.haml (0.2ms) Completed 200 OK in 28ms (Views: 27.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 10:58:09 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 10:58:09 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 10:58:09 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 10:58:09 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 10:58:09 -0500 Started GET "/" for ::1 at 2015-01-10 10:58:15 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) Rendered partials/_nav.haml (0.2ms) Completed 200 OK in 24ms (Views: 23.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 10:58:15 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 10:58:15 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 10:58:15 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 10:58:15 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 10:58:15 -0500 Started GET "/" for ::1 at 2015-01-10 10:58:16 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) Rendered partials/_nav.haml (0.2ms) Completed 200 OK in 30ms (Views: 29.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 10:58:16 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 10:58:16 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 10:58:16 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 10:58:16 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 10:58:16 -0500 Started GET "/" for ::1 at 2015-01-10 10:58:38 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>{"$oid"=>BSON::ObjectId('543bc9ce6e65691bff000000')}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 11.6280ms Rendered partials/_nav.haml (15.9ms) Completed 500 Internal Server Error in 40ms ActionView::Template::Error (The operation: #{"_id"=>{"$oid"=>BSON::ObjectId('543bc9ce6e65691bff000000')}}, "$orderby"=>{:_id=>1}} @fields=nil> failed with error 10068: "invalid operator: $oid" See https://github.com/mongodb/mongo/blob/master/docs/errors.md for details about this error.): 1: = link_to "Login", new_user_session_path 2: - unless current_user.nil? 3: signed in as current_user.name app/views/partials/_nav.haml:2:in `_app_views_partials__nav_haml__1090246363671655403_70197359834980' app/views/layouts/application.haml:9:in `_app_views_layouts_application_haml___2164832208217665639_70197366539220' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.5ms) Started GET "/" for ::1 at 2015-01-10 10:58:59 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>{"$oid"=>BSON::ObjectId('543bc9ce6e65691bff000000')}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9540ms Rendered partials/_nav.haml (3.1ms) Completed 500 Internal Server Error in 25ms ActionView::Template::Error (The operation: #{"_id"=>{"$oid"=>BSON::ObjectId('543bc9ce6e65691bff000000')}}, "$orderby"=>{:_id=>1}} @fields=nil> failed with error 10068: "invalid operator: $oid" See https://github.com/mongodb/mongo/blob/master/docs/errors.md for details about this error.): 1: = link_to "Login", new_user_session_path 2: - if current_user 3: signed in as current_user.name app/views/partials/_nav.haml:2:in `_app_views_partials__nav_haml__1090246363671655403_70197365418560' app/views/layouts/application.haml:9:in `_app_views_layouts_application_haml___2164832208217665639_70197366539220' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.9ms) Started GET "/" for ::1 at 2015-01-10 10:59:04 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) Rendered partials/_nav.haml (14.2ms) Completed 500 Internal Server Error in 38ms ActionView::Template::Error (undefined method `current_user_signed_in?' for #<#:0x007fb0327e8d78>): 1: = link_to "Login", new_user_session_path 2: - if current_user_signed_in? 3: signed in as current_user.name app/views/partials/_nav.haml:2:in `_app_views_partials__nav_haml__1090246363671655403_70197359131860' app/views/layouts/application.haml:9:in `_app_views_layouts_application_haml___2164832208217665639_70197366539220' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (17.8ms) Started GET "/" for ::1 at 2015-01-10 10:59:42 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>{"$oid"=>BSON::ObjectId('543bc9ce6e65691bff000000')}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2320ms Rendered partials/_nav.haml (4.1ms) Completed 500 Internal Server Error in 28ms ActionView::Template::Error (The operation: #{"_id"=>{"$oid"=>BSON::ObjectId('543bc9ce6e65691bff000000')}}, "$orderby"=>{:_id=>1}} @fields=nil> failed with error 10068: "invalid operator: $oid" See https://github.com/mongodb/mongo/blob/master/docs/errors.md for details about this error.): 1: = link_to "Login", new_user_session_path 2: - if current_user.present? 3: signed in as current_user.name app/views/partials/_nav.haml:2:in `_app_views_partials__nav_haml__1090246363671655403_70197359966080' app/views/layouts/application.haml:9:in `_app_views_layouts_application_haml___2164832208217665639_70197366539220' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (26.5ms) Started GET "/" for ::1 at 2015-01-10 11:03:46 -0500 NameError (uninitialized constant User::ZeroOidFix): app/models/user.rb:8:in `' app/models/user.rb:1:in `' config/routes.rb:2:in `block in ' config/routes.rb:1:in `' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (21.2ms) Started GET "/" for ::1 at 2015-01-10 11:04:08 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms Rendered partials/_nav.haml (2.6ms) Completed 200 OK in 49ms (Views: 48.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 11:04:08 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 11:04:08 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 11:04:08 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 11:04:08 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 11:04:08 -0500 Started GET "/" for ::1 at 2015-01-10 11:04:24 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms Rendered partials/_nav.haml (4.1ms) Completed 500 Internal Server Error in 26ms ActionView::Template::Error (undefined method `name' for #): 1: = link_to "Login", new_user_session_path 2: - if current_user.present? 3: signed in as 4: = current_user.name app/views/partials/_nav.haml:4:in `_app_views_partials__nav_haml__1090246363671655403_70197359387320' app/views/layouts/application.haml:9:in `_app_views_layouts_application_haml___2164832208217665639_70197366539220' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (8.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (27.6ms) Started GET "/" for ::1 at 2015-01-10 11:04:34 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms Rendered partials/_nav.haml (2.1ms) Completed 200 OK in 24ms (Views: 24.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 11:04:34 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 11:04:34 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 11:04:34 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 11:04:34 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 11:04:34 -0500 Started GET "/" for ::1 at 2015-01-10 11:05:28 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms Rendered partials/_nav.haml (3.7ms) Completed 200 OK in 29ms (Views: 28.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 11:05:28 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 11:05:28 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 11:05:28 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 11:05:28 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 11:05:28 -0500 Started GET "/" for ::1 at 2015-01-10 11:06:16 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms Rendered partials/_nav.haml (4.0ms) Completed 200 OK in 41ms (Views: 41.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 11:06:16 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 11:06:16 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 11:06:16 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 11:06:16 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 11:06:16 -0500 Started GET "/users/sign_out" for ::1 at 2015-01-10 11:06:17 -0500 ActionController::RoutingError (No route matches [GET] "/users/sign_out"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (32.4ms) Started GET "/" for ::1 at 2015-01-10 11:06:39 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms Rendered partials/_nav.haml (2.6ms) Completed 200 OK in 29ms (Views: 29.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 11:06:39 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 11:06:39 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 11:06:39 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 11:06:39 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 11:06:39 -0500 Started GET "/users/sign_out" for ::1 at 2015-01-10 11:06:41 -0500 ActionController::RoutingError (No route matches [GET] "/users/sign_out"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (28.9ms) Started GET "/" for ::1 at 2015-01-10 11:06:49 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (16.3ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms Rendered partials/_nav.haml (6.3ms) Completed 200 OK in 88ms (Views: 87.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 11:06:49 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 11:06:49 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 11:06:49 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 11:06:49 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 11:06:49 -0500 Started GET "/users/sign_out" for ::1 at 2015-01-10 11:06:50 -0500 ActionController::RoutingError (No route matches [GET] "/users/sign_out"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (3.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (29.8ms) Started GET "/" for ::1 at 2015-01-10 11:08:28 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.9ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms Rendered partials/_nav.haml (5.0ms) Completed 200 OK in 67ms (Views: 66.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 11:08:28 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 11:08:28 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 11:08:28 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 11:08:28 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 11:08:28 -0500 Started GET "/users/sign_out" for ::1 at 2015-01-10 11:08:29 -0500 ActionController::RoutingError (No route matches [GET] "/users/sign_out"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (28.4ms) Started GET "/" for ::1 at 2015-01-10 11:09:39 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) Rendered partials/_nav.haml (12.8ms) Completed 500 Internal Server Error in 47ms ActionView::Template::Error (undefined local variable or method `new_user_session_path' for #<#:0x007fdd18ff0968>): 1: = link_to "Login", new_user_session_path 2: - if current_user.present? 3: signed in as 4: = current_user.email app/views/partials/_nav.haml:1:in `_app_views_partials__nav_haml__1265051741579582547_70293793009640' app/views/layouts/application.haml:9:in `_app_views_layouts_application_haml__2110599657913671664_70293825965060' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.6ms) Started GET "/" for ::1 at 2015-01-10 11:11:13 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.9ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms Rendered partials/_nav.haml (4.9ms) Completed 200 OK in 61ms (Views: 61.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 11:11:13 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 11:11:13 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 11:11:13 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 11:11:13 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 11:11:13 -0500 Started GET "/" for ::1 at 2015-01-10 11:11:27 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6700ms Rendered partials/_nav.haml (3.9ms) Completed 200 OK in 37ms (Views: 36.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 11:11:27 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 11:11:27 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 11:11:27 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 11:11:27 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 11:11:27 -0500 Started GET "/users/sign_out" for ::1 at 2015-01-10 11:11:28 -0500 ActionController::RoutingError (No route matches [GET] "/users/sign_out"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (35.2ms) Started GET "/" for ::1 at 2015-01-10 11:11:32 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4140ms Rendered partials/_nav.haml (6.5ms) Completed 200 OK in 38ms (Views: 38.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 11:11:32 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 11:11:32 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 11:11:32 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 11:11:32 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 11:11:32 -0500 Started GET "/" for ::1 at 2015-01-10 11:11:32 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms Rendered partials/_nav.haml (2.5ms) Completed 200 OK in 62ms (Views: 61.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 11:11:32 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 11:11:32 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 11:11:32 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 11:11:32 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 11:11:32 -0500 Started GET "/" for ::1 at 2015-01-10 11:11:32 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms Rendered partials/_nav.haml (1.6ms) Completed 200 OK in 29ms (Views: 28.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 11:11:33 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 11:11:33 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 11:11:33 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 11:11:33 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 11:11:33 -0500 Started GET "/" for ::1 at 2015-01-10 11:11:42 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms Rendered partials/_nav.haml (3.2ms) Completed 200 OK in 29ms (Views: 29.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 11:11:42 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 11:11:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 11:11:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 11:11:42 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 11:11:42 -0500 Started GET "/" for ::1 at 2015-01-10 11:11:46 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6470ms Rendered partials/_nav.haml (3.8ms) Completed 200 OK in 26ms (Views: 25.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 11:11:46 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 11:11:46 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 11:11:46 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 11:11:46 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 11:11:46 -0500 Started GET "/users/sign_out" for ::1 at 2015-01-10 11:11:46 -0500 ActionController::RoutingError (No route matches [GET] "/users/sign_out"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (26.1ms) Started GET "/users/sign_out" for ::1 at 2015-01-10 11:11:48 -0500 ActionController::RoutingError (No route matches [GET] "/users/sign_out"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (26.9ms) Started GET "/users/sign_out" for ::1 at 2015-01-10 11:11:48 -0500 ActionController::RoutingError (No route matches [GET] "/users/sign_out"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (32.3ms) Started GET "/users/sign_out" for ::1 at 2015-01-10 11:11:48 -0500 ActionController::RoutingError (No route matches [GET] "/users/sign_out"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (27.5ms) Started GET "/users/sign_out" for ::1 at 2015-01-10 11:11:48 -0500 ActionController::RoutingError (No route matches [GET] "/users/sign_out"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (25.3ms) Started GET "/users/sign_out" for ::1 at 2015-01-10 11:11:48 -0500 ActionController::RoutingError (No route matches [GET] "/users/sign_out"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (27.9ms) Started GET "/users/sign_out" for ::1 at 2015-01-10 11:11:49 -0500 ActionController::RoutingError (No route matches [GET] "/users/sign_out"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (26.9ms) Started GET "/users/sign_out" for ::1 at 2015-01-10 11:12:28 -0500 ActionController::RoutingError (No route matches [GET] "/users/sign_out"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (29.1ms) Started GET "/users/sign_out" for ::1 at 2015-01-10 11:12:28 -0500 ActionController::RoutingError (No route matches [GET] "/users/sign_out"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (86.9ms) Started GET "/users/sign_out" for ::1 at 2015-01-10 11:12:30 -0500 ActionController::RoutingError (No route matches [GET] "/users/sign_out"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (54.1ms) Started GET "/" for ::1 at 2015-01-10 11:12:31 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms Rendered partials/_nav.haml (11.0ms) Completed 200 OK in 68ms (Views: 67.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 11:12:31 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 11:12:31 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 11:12:31 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 11:12:31 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 11:12:31 -0500 Started GET "/" for ::1 at 2015-01-10 11:12:31 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.2ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.9690ms Rendered partials/_nav.haml (7.2ms) Completed 200 OK in 58ms (Views: 58.2ms) Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 11:12:32 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 11:12:32 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 11:12:32 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 11:12:32 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 11:12:32 -0500 Started GET "/" for ::1 at 2015-01-10 11:12:39 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms Rendered partials/_nav.haml (1.5ms) Completed 200 OK in 27ms (Views: 26.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 11:12:39 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 11:12:39 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 11:12:39 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 11:12:39 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 11:12:39 -0500 Started GET "/" for ::1 at 2015-01-10 11:12:39 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms Rendered partials/_nav.haml (9.5ms) Completed 200 OK in 32ms (Views: 31.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 11:12:39 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 11:12:39 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 11:12:39 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 11:12:39 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 11:12:39 -0500 Started GET "/" for ::1 at 2015-01-10 11:12:39 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms Rendered partials/_nav.haml (1.6ms) Completed 200 OK in 27ms (Views: 26.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 11:12:39 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 11:12:39 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 11:12:39 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 11:12:39 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 11:12:39 -0500 Started GET "/" for ::1 at 2015-01-10 11:14:11 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.8ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms Rendered partials/_nav.haml (4.6ms) Completed 200 OK in 63ms (Views: 63.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 11:14:11 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 11:14:11 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 11:14:11 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 11:14:11 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 11:14:11 -0500 Started GET "/" for ::1 at 2015-01-10 11:14:11 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms Rendered partials/_nav.haml (3.0ms) Completed 200 OK in 40ms (Views: 39.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 11:14:11 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 11:14:11 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 11:14:11 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 11:14:11 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 11:14:11 -0500 Started GET "/users/sign_out" for ::1 at 2015-01-10 11:14:12 -0500 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms Redirected to http://localhost:3000/ Completed 302 Found in 29ms Started GET "/" for ::1 at 2015-01-10 11:14:12 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) Rendered partials/_nav.haml (6.1ms) Completed 200 OK in 29ms (Views: 29.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 11:14:12 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 11:14:12 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 11:14:12 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 11:14:12 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 11:14:12 -0500 Started GET "/users/sign_in" for ::1 at 2015-01-10 11:14:13 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (5.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (17.3ms) Rendered partials/_nav.haml (0.5ms) Completed 200 OK in 80ms (Views: 78.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 11:14:13 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 11:14:13 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 11:14:13 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 11:14:13 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 11:14:13 -0500 Started POST "/users/sign_in" for ::1 at 2015-01-10 11:14:17 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"P/TlrfquyonF1sYo/mTuzQ0QUVn78yxzzXsn/igSHOdkGoWChkdOnHUIocKzXwHd4wSl/cUQCudCCwhiSJjyNg==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"neilj.ny@gmail.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"last_sign_in_at"=>2015-01-10 15:58:08 UTC, "current_sign_in_at"=>2015-01-10 16:14:17 UTC, "last_sign_in_ip"=>"::1", "sign_in_count"=>7}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8950ms Redirected to http://localhost:3000/ Completed 302 Found in 95ms Started GET "/" for ::1 at 2015-01-10 11:14:17 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms Rendered partials/_nav.haml (1.6ms) Completed 200 OK in 26ms (Views: 26.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 11:14:17 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 11:14:17 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 11:14:17 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 11:14:17 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 11:14:17 -0500 Started GET "/" for ::1 at 2015-01-10 11:14:18 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms Rendered partials/_nav.haml (1.5ms) Completed 200 OK in 26ms (Views: 25.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 11:14:18 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 11:14:18 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 11:14:18 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 11:14:18 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 11:14:19 -0500 Started GET "/" for ::1 at 2015-01-10 11:15:13 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.8ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms Rendered partials/_nav.haml (4.2ms) Completed 200 OK in 47ms (Views: 47.0ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 11:15:13 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 11:15:13 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 11:15:13 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 11:15:13 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 11:15:13 -0500 Started GET "/" for ::1 at 2015-01-10 11:26:42 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.8ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms Rendered partials/_nav.haml (4.3ms) Completed 200 OK in 49ms (Views: 48.9ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 11:26:42 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 11:26:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 11:26:42 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 11:26:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 11:26:42 -0500 Started GET "/" for ::1 at 2015-01-10 11:26:43 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms Rendered partials/_nav.haml (2.4ms) Completed 200 OK in 41ms (Views: 40.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 11:26:43 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 11:26:43 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 11:26:43 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 11:26:43 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 11:26:43 -0500 Started GET "/forums" for ::1 at 2015-01-10 11:26:47 -0500 ActionController::RoutingError (No route matches [GET] "/forums"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (27.9ms) Started GET "/forums" for ::1 at 2015-01-10 12:26:17 -0500 Processing by MongoidForums::ForumsController#index as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.html.erb within layouts/mongoid_forums/application (0.9ms) Completed 200 OK in 94ms (Views: 93.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:26:17 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:26:17 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:26:17 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:26:17 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:26:17 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:26:17 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:26:17 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:26:17 -0500 Started GET "/forums" for ::1 at 2015-01-10 12:28:24 -0500 Processing by MongoidForums::ForumsController#index as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.html.erb within layouts/mongoid_forums/application (0.0ms) Completed 200 OK in 39ms (Views: 26.6ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:28:24 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:28:24 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:28:24 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:28:24 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:28:24 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:28:24 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:28:24 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:28:24 -0500 Started GET "/forums" for ::1 at 2015-01-10 12:29:22 -0500 Processing by MongoidForums::ForumsController#index as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (1.5ms) Completed 200 OK in 56ms (Views: 41.2ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:29:22 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:29:22 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:29:22 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:29:22 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:29:22 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:29:22 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:29:22 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:29:22 -0500 Started GET "/forums" for ::1 at 2015-01-10 12:29:36 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 7.6520ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (12.2ms) Completed 200 OK in 41ms (Views: 40.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:29:36 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:29:36 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:29:36 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:29:36 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:29:36 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:29:36 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:29:36 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:29:36 -0500 MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.3910ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_categories documents=[{"_id"=>BSON::ObjectId('54b162224e65691fd7000000'), "name"=>"Test"}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 33.2490ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8050ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_forums documents=[{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "category_id"=>BSON::ObjectId('54b162224e65691fd7000000'), "name"=>"ForumA"}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 14.0070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5010ms Started GET "/forums" for ::1 at 2015-01-10 12:40:02 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5310ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (2.3ms) Completed 200 OK in 36ms (Views: 26.2ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:40:02 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:40:02 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:40:02 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:40:02 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:40:02 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:40:02 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:40:02 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:40:02 -0500 Started GET "/forums" for ::1 at 2015-01-10 12:40:56 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (3.3ms) Completed 200 OK in 25ms (Views: 24.3ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:40:56 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:40:56 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:40:56 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:40:56 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:40:56 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:40:56 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:40:56 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:40:56 -0500 Started GET "/forums/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:40:57 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.html.erb within layouts/mongoid_forums/application (0.3ms) Completed 200 OK in 33ms (Views: 32.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:40:57 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:40:57 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:40:57 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:40:57 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:40:57 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:40:57 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:40:57 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:40:57 -0500 Started GET "/forums/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:41:24 -0500 ActionController::RoutingError (No route matches [GET] "/forums/forums/54b163bf4e656920a7000000"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (3.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (43.8ms) Started GET "/" for ::1 at 2015-01-10 12:41:28 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.3ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms Rendered partials/_nav.haml (4.6ms) Completed 200 OK in 50ms (Views: 49.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 12:41:28 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:41:28 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 12:41:28 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 12:41:28 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:41:28 -0500 Started GET "/forums" for ::1 at 2015-01-10 12:41:30 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5990ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (4.4ms) Completed 200 OK in 49ms (Views: 34.5ms) Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:41:30 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:41:30 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:41:30 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:41:30 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:41:30 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:41:30 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:41:30 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:41:30 -0500 Started GET "/forums" for ::1 at 2015-01-10 12:41:30 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (1.9ms) Completed 200 OK in 25ms (Views: 24.6ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:41:30 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:41:30 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:41:30 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:41:30 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:41:30 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:41:30 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:41:30 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:41:30 -0500 Started GET "/forums" for ::1 at 2015-01-10 12:41:30 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4230ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (1.4ms) Completed 200 OK in 26ms (Views: 25.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:41:30 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:41:30 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:41:30 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:41:30 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:41:30 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:41:30 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:41:30 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:41:30 -0500 Started GET "/forums" for ::1 at 2015-01-10 12:41:31 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7330ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (1.6ms) Completed 200 OK in 29ms (Views: 28.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:41:31 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:41:31 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:41:31 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:41:31 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:41:31 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:41:31 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:41:31 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:41:31 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:41:32 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.html.erb within layouts/mongoid_forums/application (0.1ms) Completed 200 OK in 26ms (Views: 26.0ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:41:32 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:41:32 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:41:32 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:41:32 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:41:32 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:41:32 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:41:32 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:41:32 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:41:57 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (4.5ms) Completed 500 Internal Server Error in 7ms ActionView::Template::Error (undefined method `name' for nil:NilClass): 1: %h1 Viewing Forum "#{@forum.name}" /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:1:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2574951758520307216_70183015440920' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (17.0ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:42:13 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.7ms) Completed 500 Internal Server Error in 11ms ActionView::Template::Error (undefined method `name' for "54b163bf4e656920a7000000":String): 1: %h1 Viewing Forum "#{@forum.name}" /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:1:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2574951758520307216_70183015440920' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.0ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:42:22 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (1.0ms) Completed 500 Internal Server Error in 12ms ActionView::Template::Error (undefined method `name' for nil:NilClass): 1: %h1 Viewing Forum "#{@forum.name}" /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:1:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2574951758520307216_70183015440920' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (24.3ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:42:33 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4880ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.2ms) Completed 200 OK in 37ms (Views: 21.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:42:33 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:42:33 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:42:33 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:42:33 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:42:33 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:42:33 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:42:33 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:42:33 -0500 Started GET "/forums/54b163bf4e656920a7000001" for ::1 at 2015-01-10 12:42:36 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000001"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000001')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2630ms Completed 404 Not Found in 11ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) 54b163bf4e656920a7000001. Summary: When calling MongoidForums::Forum.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): 54b163bf4e656920a7000001 ... (1 total) and the following ids were not found: 54b163bf4e656920a7000001. Resolution: Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.): mongoid (4.0.0) lib/mongoid/criteria.rb:475:in `check_for_missing_documents!' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:20:in `execute_or_raise' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:40:in `find' mongoid (4.0.0) lib/mongoid/findable.rb:90:in `find' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:10:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (14.5ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:42:38 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.1ms) Completed 200 OK in 65ms (Views: 63.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:42:38 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:42:38 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:42:38 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:42:38 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:42:38 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:42:38 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:42:38 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:42:38 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:44:27 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4600ms Completed 500 Internal Server Error in 12ms NoMethodError (undefined method `desc' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:10:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (16.8ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:44:52 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 12.2370ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.2ms) Completed 200 OK in 51ms (Views: 23.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:44:52 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:44:52 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:44:52 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:44:52 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:44:52 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:44:52 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:44:52 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:44:52 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:45:05 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.1ms) Completed 200 OK in 39ms (Views: 20.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:45:05 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:45:05 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:45:05 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:45:05 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:45:05 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:45:05 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:45:05 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:45:05 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:45:28 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2730ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (1.0ms) Completed 200 OK in 39ms (Views: 36.3ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:45:28 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:45:28 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:45:28 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:45:28 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:45:28 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:45:28 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:45:28 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:45:28 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:45:28 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2390ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.2ms) Completed 200 OK in 27ms (Views: 24.2ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:45:28 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:45:28 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:45:28 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:45:28 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:45:28 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:45:28 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:45:28 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:45:28 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:45:28 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2780ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.1ms) Completed 200 OK in 28ms (Views: 25.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:45:29 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:45:29 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:45:29 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:45:29 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:45:29 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:45:29 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:45:29 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:45:29 -0500 MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b1653e4e656920a7010000'), "category_id"=>BSON::ObjectId('54b162224e65691fd7000000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "name"=>"TopicA"}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 13.9630ms Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:46:11 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.1ms) Completed 200 OK in 26ms (Views: 23.2ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:46:11 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:46:11 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:46:11 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:46:11 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:46:11 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:46:11 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:46:11 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:46:11 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:46:11 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.2ms) Completed 200 OK in 37ms (Views: 34.0ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:46:12 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:46:12 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:46:12 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:46:12 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:46:12 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:46:12 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:46:12 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:46:12 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:46:12 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3050ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.1ms) Completed 200 OK in 24ms (Views: 20.9ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:46:12 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:46:12 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:46:12 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:46:12 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:46:12 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:46:12 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:46:12 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:46:12 -0500 MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7850ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1653e4e656920a7010000')} update={"$set"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5990ms Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:47:27 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 3.1010ms Completed 500 Internal Server Error in 42ms NoMethodError (undefined method `created_at' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:11:in `block in show' mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:184:in `block in each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:181:in `each' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:410:in `sort_by' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:410:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:11:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (16.9ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.5920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8320ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1653e4e656920a7010000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8130ms MOPED: 127.0.0.1:27017 DELETE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1653e4e656920a7010000')} flags=[:remove_first] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7520ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b1663b4e65692160000000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "name"=>"TopicA", "updated_at"=>2015-01-10 17:50:09 UTC, "created_at"=>2015-01-10 17:50:09 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7820ms Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:50:15 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7890ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (11.5ms) Completed 500 Internal Server Error in 43ms ActionView::Template::Error (undefined method `topic_path' for #<#:0x007fa9893cad68>): 1: %h1 Viewing Forum "#{@forum.name}" 2: - @topics.each do |topic| 3: = link_to topic.name, topic actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:268:in `handle_model_call' actionview (4.2.0) lib/action_view/routing_url_for.rb:113:in `url_for' actionview (4.2.0) lib/action_view/helpers/url_helper.rb:181:in `link_to' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:3:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2574951758520307216_70183022374380' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:2:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2574951758520307216_70183022374380' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.1ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:50:38 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5930ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (2.1ms) Completed 500 Internal Server Error in 10ms ActionView::Template::Error (No route matches {:action=>"show", :controller=>"mongoid_forums/topics", :format=>nil, :forum_id=>#, :id=>nil} missing required keys: [:id]): 1: %h1 Viewing Forum "#{@forum.name}" 2: - @topics.each do |topic| 3: = link_to topic.name, forum_topic_path(topic) actionpack (4.2.0) lib/action_dispatch/journey/formatter.rb:46:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:710:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:741:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:784:in `url_for' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:279:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:222:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:334:in `block (2 levels) in define_url_helper' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:3:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2574951758520307216_70183018892160' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:2:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2574951758520307216_70183018892160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.3ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:50:47 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3770ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (1.2ms) Completed 500 Internal Server Error in 6ms ActionView::Template::Error (No route matches {:action=>"show", :controller=>"mongoid_forums/topics", :format=>nil, :forum_id=>#, :id=>nil} missing required keys: [:id]): 1: %h1 Viewing Forum "#{@forum.name}" 2: - @topics.each do |topic| 3: = link_to topic.name, forum_topic_path(topic) actionpack (4.2.0) lib/action_dispatch/journey/formatter.rb:46:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:710:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:741:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:784:in `url_for' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:279:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:222:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:334:in `block (2 levels) in define_url_helper' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:3:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2574951758520307216_70183018892160' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:2:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2574951758520307216_70183018892160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.8ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:51:44 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5290ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (3.5ms) Completed 500 Internal Server Error in 10ms ActionView::Template::Error (No route matches {:action=>"show", :controller=>"mongoid_forums/topics", :format=>nil, :forum_id=>#, :id=>nil} missing required keys: [:id]): 1: %h1 Viewing Forum "#{@forum.name}" 2: - @topics.each do |topic| 3: = link_to topic.name, forum_topic_path(topic) actionpack (4.2.0) lib/action_dispatch/journey/formatter.rb:46:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:710:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:741:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:784:in `url_for' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:279:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:222:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:334:in `block (2 levels) in define_url_helper' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:3:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2574951758520307216_70183014056220' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:2:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2574951758520307216_70183014056220' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.1ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:52:13 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3720ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (2.5ms) Completed 200 OK in 25ms (Views: 23.2ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:52:13 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:52:13 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:52:13 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:52:13 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:52:13 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:52:13 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:52:13 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:52:13 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:52:14 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4110ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.4ms) Completed 200 OK in 25ms (Views: 22.4ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:52:14 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:52:14 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:52:14 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:52:14 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:52:14 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:52:14 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:52:14 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:52:14 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:52:15 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5700ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.8ms) Completed 200 OK in 29ms (Views: 25.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:52:15 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:52:15 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:52:15 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:52:15 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:52:15 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:52:15 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:52:15 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:52:15 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:52:22 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (1.6ms) Completed 200 OK in 32ms (Views: 28.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:52:22 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:52:22 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:52:22 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:52:22 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:52:22 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:52:22 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:52:22 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:52:22 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:52:25 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3870ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (1.5ms) Completed 200 OK in 27ms (Views: 23.6ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:52:25 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:52:25 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:52:25 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:52:25 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:52:25 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:52:25 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:52:25 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:52:25 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:52:29 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3790ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (1.3ms) Completed 200 OK in 26ms (Views: 23.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:52:29 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:52:29 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:52:29 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:52:29 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:52:29 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:52:29 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:52:29 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:52:29 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:52:35 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3530ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (1.3ms) Completed 200 OK in 27ms (Views: 24.6ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:52:35 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:52:35 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:52:35 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:52:35 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:52:35 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:52:35 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:52:35 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:52:35 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:53:01 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (11.3ms) Completed 500 Internal Server Error in 16ms ActionView::Template::Error (undefined method `topic_path' for #<#:0x007fa982cf2f00>): 1: %h1 Viewing Forum "#{@forum.name}" 2: - @topics.each do |topic| 3: = link_to topic.name, topic actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:268:in `handle_model_call' actionview (4.2.0) lib/action_view/routing_url_for.rb:113:in `url_for' actionview (4.2.0) lib/action_view/helpers/url_helper.rb:181:in `link_to' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:3:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2574951758520307216_70183010404740' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:2:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2574951758520307216_70183010404740' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.7ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:53:20 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4980ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (11.8ms) Completed 500 Internal Server Error in 18ms ActionView::Template::Error (undefined method `forum_topic' for #<#:0x007fa982a98688>): 1: %h1 Viewing Forum "#{@forum.name}" 2: - @topics.each do |topic| 3: = link_to topic.name, forum_topic(@forum, topic) /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:3:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2574951758520307216_70183009162520' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:2:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2574951758520307216_70183009162520' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.7ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:53:25 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (1.3ms) Completed 200 OK in 29ms (Views: 26.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:53:26 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:53:26 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:53:26 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:53:26 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:53:26 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:53:26 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:53:26 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:53:26 -0500 Started GET "/forums/54b163bf4e656920a7000000/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 12:53:27 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000", "id"=>"54b1663b4e65692160000000"} Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.html.erb within layouts/mongoid_forums/application (0.4ms) Completed 200 OK in 29ms (Views: 28.4ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:53:27 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:53:27 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:53:27 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:53:27 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:53:27 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:53:27 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:53:27 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:53:28 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 12:55:22 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.html.erb within layouts/mongoid_forums/application (0.1ms) Completed 200 OK in 26ms (Views: 25.3ms) Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:55:22 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:55:22 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:55:22 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:55:22 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:55:22 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:55:22 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:55:22 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:55:22 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 12:56:41 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.html.erb within layouts/mongoid_forums/application (0.0ms) Completed 200 OK in 21ms (Views: 20.4ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:56:41 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:56:41 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:56:41 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:56:41 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:56:41 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:56:41 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:56:41 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:56:41 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:56:44 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (1.1ms) Completed 200 OK in 29ms (Views: 25.6ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:56:44 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:56:44 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:56:44 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:56:44 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:56:44 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:56:44 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:56:44 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:56:44 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 12:56:44 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4070ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.3ms) Completed 200 OK in 31ms (Views: 28.2ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:56:44 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:56:44 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:56:44 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:56:44 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:56:44 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:56:44 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:56:44 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:56:44 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 12:56:45 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.html.erb within layouts/mongoid_forums/application (0.0ms) Completed 200 OK in 22ms (Views: 22.0ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:56:45 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:56:45 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:56:45 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:56:45 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:56:45 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:56:45 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:56:45 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:56:45 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 12:57:09 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (1.5ms) Completed 500 Internal Server Error in 4ms ActionView::Template::Error (undefined method `name' for nil:NilClass): 1: %h1 Viewing Topic "#{@topic.name}" /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:1:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183017747120' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.7ms) Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 12:57:30 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3530ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (0.1ms) Completed 200 OK in 37ms (Views: 24.7ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:57:30 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:57:30 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:57:30 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:57:30 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:57:30 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:57:30 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:57:30 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:57:30 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 12:58:02 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 11.4770ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (0.2ms) Completed 200 OK in 57ms (Views: 23.2ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:58:02 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:58:02 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:58:02 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 12:58:02 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:58:02 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 12:58:02 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 12:58:02 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 12:58:02 -0500 MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3680ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7820ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b169264e65692352000000'), "topic_id"=>BSON::ObjectId('54b1663b4e65692160000000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "text"=>"this should be the first post", "updated_at"=>2015-01-10 18:02:33 UTC, "created_at"=>2015-01-10 18:02:33 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 15.8910ms Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:02:35 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5410ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (0.2ms) Completed 200 OK in 49ms (Views: 26.7ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:02:35 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:02:35 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:02:35 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:02:35 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:02:35 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:02:35 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:02:35 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:02:35 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:02:36 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (0.1ms) Completed 200 OK in 28ms (Views: 25.0ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:02:36 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:02:36 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:02:36 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:02:36 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:02:36 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:02:36 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:02:36 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:02:36 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:02:54 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.6ms) Completed 200 OK in 34ms (Views: 30.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:02:54 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:02:54 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:02:54 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:02:54 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:02:54 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:02:54 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:02:54 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:02:54 -0500 Started GET "/forums/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:02:55 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7710ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (0.5ms) Completed 200 OK in 29ms (Views: 25.1ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:02:55 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:02:55 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:02:55 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:02:55 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:02:55 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:02:55 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:02:55 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:02:55 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:03:36 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3910ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (1.0ms) Completed 200 OK in 23ms (Views: 20.3ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:03:36 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:03:36 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:03:36 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:03:36 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:03:36 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:03:36 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:03:36 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:03:36 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:03:38 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4260ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (1.0ms) Completed 200 OK in 29ms (Views: 25.9ms) Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:03:38 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:03:38 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:03:38 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:03:38 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:03:38 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:03:38 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:03:38 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:03:38 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:03:42 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4720ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.1ms) Completed 500 Internal Server Error in 7ms ActionView::Template::Error (undefined method `name' for #): 1: %h1 Viewing Topic "#{@topic.name}" 2: - @posts.each do |post| 3: = post.name /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:3:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183020677440' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183020677440' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.8ms) Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:03:45 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.2ms) Completed 200 OK in 30ms (Views: 27.7ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:03:45 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:03:45 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:03:45 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:03:45 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:03:45 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:03:45 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:03:45 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:03:45 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:03:48 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.2ms) Completed 500 Internal Server Error in 9ms ActionView::Template::Error (undefined method `name' for #): 1: %h1 Viewing Topic "#{@topic.name}" 2: - @posts.each do |post| 3: = post.user.name mongoid (4.0.0) lib/mongoid/relations/proxy.rb:150:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:3:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183009801100' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183009801100' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.4ms) Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:04:00 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.1ms) Completed 200 OK in 25ms (Views: 23.3ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:04:00 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:04:00 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:04:00 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:04:00 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:04:00 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:04:00 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:04:00 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:04:00 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:04:21 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.4ms) Completed 200 OK in 28ms (Views: 25.4ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:04:21 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:04:21 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:04:21 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:04:21 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:04:21 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:04:21 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:04:21 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:04:21 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:04:30 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.8ms) Completed 200 OK in 25ms (Views: 23.3ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:04:30 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:04:30 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:04:30 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:04:30 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:04:30 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:04:30 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:04:30 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:04:30 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:04:35 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.2ms) Completed 200 OK in 25ms (Views: 22.7ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:04:36 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:04:36 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:04:36 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:04:36 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:04:36 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:04:36 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:04:36 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:04:36 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:04:43 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.7ms) Completed 200 OK in 27ms (Views: 24.0ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:04:43 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:04:43 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:04:43 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:04:43 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:04:43 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:04:43 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:04:43 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:04:43 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:06:04 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5070ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.4ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (Missing partial partials/posts/_post with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Business/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Business/mongoid_forums/app/views" * "/Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views" ): 1: %h1 Viewing Topic "#{@topic.name}" 2: - @posts.each do |post| 3: = render 'partials/posts/post', :locals => post actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:418:in `find_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:413:in `find_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:294:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:3:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183046222320' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183046222320' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.0ms) Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:06:15 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6250ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (4.4ms) Completed 500 Internal Server Error in 10ms ActionView::Template::Error (Missing partial mongoid_forums/partials/posts/_post with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Business/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Business/mongoid_forums/app/views" * "/Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views" ): 1: %h1 Viewing Topic "#{@topic.name}" 2: - @posts.each do |post| 3: = render 'mongoid_forums/partials/posts/post', :locals => post actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:418:in `find_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:413:in `find_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:294:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:3:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183009047660' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183009047660' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.1ms) Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:06:28 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3930ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.3ms) Completed 500 Internal Server Error in 6ms ActionView::Template::Error (Missing partial mongoid_forums/partials/posts/_post with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Business/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Business/mongoid_forums/app/views" * "/Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views" ): 1: %h1 Viewing Topic "#{@topic.name}" 2: - @posts.each do |post| 3: = render '/mongoid_forums/partials/posts/post', :locals => post actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:418:in `find_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:413:in `find_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:294:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:3:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183021837900' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183021837900' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (16.5ms) Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:07:11 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4170ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.8ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (Missing partial mongoid_forums/partials/posts/_post with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Business/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Business/mongoid_forums/app/views" * "/Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views" ): 1: %h1 Viewing Topic "#{@topic.name}" 2: - @posts.each do |post| 3: = render 'mongoid_forums/partials/posts/post', :locals => post actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:418:in `find_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:413:in `find_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:294:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:3:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183062839120' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183062839120' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.0ms) Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:07:23 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4950ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/partials/posts/_post.haml (1.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.4ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 1: = @post.user.forum_display_name 2: created 3: = time_ago_in_words(@post.created_at) 4: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/partials/posts/_post.haml:1:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_partials_posts__post_haml___1492778873203702335_70183049307400' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:3:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183062839120' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183062839120' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.9ms) Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:07:37 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4300ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.9ms) Completed 500 Internal Server Error in 7ms ActionView::Template::Error (Missing partial partials/posts/_post with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Business/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Business/mongoid_forums/app/views" * "/Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views" ): 1: %h1 Viewing Topic "#{@topic.name}" 2: - @posts.each do |post| 3: = render 'partials/posts/post', :locals => post actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:418:in `find_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:413:in `find_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:294:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:3:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183018118680' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183018118680' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.5ms) Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:07:42 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/partials/posts/_post.haml (0.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.8ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 1: = @post.user.forum_display_name 2: created 3: = time_ago_in_words(@post.created_at) 4: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/partials/posts/_post.haml:1:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_partials_posts__post_haml___1492778873203702335_70183049307400' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:3:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183009863360' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183009863360' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.3ms) Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:08:29 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4760ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/partials/posts/_post.haml (1.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.7ms) Completed 500 Internal Server Error in 9ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 1: = @post.user.forum_display_name 2: created 3: = time_ago_in_words(@post.created_at) 4: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/partials/posts/_post.haml:1:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_partials_posts__post_haml___1492778873203702335_70183049231080' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183009508360' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.6ms) Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:08:31 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3700ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/partials/posts/_post.haml (0.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (1.5ms) Completed 500 Internal Server Error in 6ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 1: = @post.user.forum_display_name 2: created 3: = time_ago_in_words(@post.created_at) 4: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/partials/posts/_post.haml:1:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_partials_posts__post_haml___1492778873203702335_70183049231080' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183009508360' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.6ms) Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:08:39 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/partials/posts/_post.haml (1.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.0ms) Completed 500 Internal Server Error in 9ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 1: = @post.user.forum_display_name 2: created 3: = time_ago_in_words(@post.created_at) 4: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/partials/posts/_post.haml:1:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_partials_posts__post_haml___1492778873203702335_70183049231080' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183022095340' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.9ms) Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:09:11 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3980ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/partials/posts/_post.haml (2.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (5.2ms) Completed 500 Internal Server Error in 10ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 1: = @post.user.forum_display_name 2: created 3: = time_ago_in_words(@post.created_at) 4: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/partials/posts/_post.haml:1:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_partials_posts__post_haml___1492778873203702335_70183009337940' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:32:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183009408900' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.2ms) Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:09:48 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3810ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/partials/posts/_post.haml (2.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (4.2ms) Completed 500 Internal Server Error in 10ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 1: = @post.user.forum_display_name 2: created 3: = time_ago_in_words(@post.created_at) 4: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/partials/posts/_post.haml:1:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_partials_posts__post_haml___1492778873203702335_70183054973700' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:32:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:3:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183055168060' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183055168060' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.4ms) Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:09:49 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3620ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/partials/posts/_post.haml (0.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (1.8ms) Completed 500 Internal Server Error in 7ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 1: = @post.user.forum_display_name 2: created 3: = time_ago_in_words(@post.created_at) 4: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/partials/posts/_post.haml:1:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_partials_posts__post_haml___1492778873203702335_70183054973700' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:32:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:3:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183055168060' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183055168060' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.3ms) Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:09:59 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4640ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/partials/posts/_post.haml (0.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.2ms) Completed 500 Internal Server Error in 9ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 1: = @post.user.forum_display_name 2: created 3: = time_ago_in_words(@post.created_at) 4: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/partials/posts/_post.haml:1:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_partials_posts__post_haml___1492778873203702335_70183049307400' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:3:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183072383880' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183072383880' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.7ms) Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:10:29 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4730ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/partials/posts/_post.haml (10.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (12.2ms) Completed 500 Internal Server Error in 36ms ActionView::Template::Error (undefined local variable or method `post' for #<#:0x007fa9883f37c8>): 1: = post.user.forum_display_name 2: created 3: = time_ago_in_words(post.created_at) 4: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/partials/posts/_post.haml:1:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_partials_posts__post_haml___1492778873203702335_70183055972960' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:3:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183072383880' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183072383880' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.2ms) Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:11:50 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (5.9ms) Completed 200 OK in 31ms (Views: 27.7ms) Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:11:51 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:11:51 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:11:51 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:11:51 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:11:51 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:11:51 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:11:51 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:11:51 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:11:57 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (1.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.6ms) Completed 200 OK in 29ms (Views: 24.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:11:57 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:11:57 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:11:57 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:11:57 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:11:57 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:11:57 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:11:57 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:11:57 -0500 MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6900ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b16b734e65692352010000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "text"=>"this should be the second post", "topic_id"=>BSON::ObjectId('54b1663b4e65692160000000'), "updated_at"=>2015-01-10 18:12:35 UTC, "created_at"=>2015-01-10 18:12:35 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8060ms Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:12:36 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.6ms) Completed 200 OK in 41ms (Views: 37.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:12:36 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:12:36 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:12:36 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:12:36 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:12:36 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:12:36 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:12:36 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:12:36 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:12:47 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (6.0ms) Completed 200 OK in 29ms (Views: 25.6ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:12:47 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:12:47 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:12:47 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:12:47 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:12:47 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:12:47 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:12:47 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:12:47 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:12:54 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (4.8ms) Completed 200 OK in 27ms (Views: 23.4ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:12:54 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:12:54 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:12:54 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:12:54 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:12:54 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:12:54 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:12:54 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:12:54 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:13:02 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (4.1ms) Completed 200 OK in 52ms (Views: 28.4ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:13:02 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:13:02 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:13:02 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:13:02 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:13:02 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:13:02 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:13:02 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:13:02 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:13:08 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (4.8ms) Completed 200 OK in 57ms (Views: 32.2ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:13:08 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:13:08 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:13:08 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:13:08 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:13:08 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:13:08 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:13:08 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:13:08 -0500 MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"text"=>"this should be the second post"} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"text"=>"this should be the second post"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"text"=>"this should be the second post"} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"text"=>"this should be the second post "}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"text"=>"this should be the second post"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b16c294e65692352040000'), "reply_to_id"=>BSON::ObjectId('54b16b734e65692352010000'), "topic_id"=>BSON::ObjectId('54b1663b4e65692160000000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "text"=>"this should be the third post, and is a reply to the second post", "updated_at"=>2015-01-10 18:15:42 UTC, "created_at"=>2015-01-10 18:15:42 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7470ms Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:15:43 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (5.9ms) Completed 200 OK in 33ms (Views: 29.6ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:15:43 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:15:43 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:15:43 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:15:43 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:15:44 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:15:44 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:15:44 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:15:44 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:16:34 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.1ms) Completed 200 OK in 30ms (Views: 26.9ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:16:34 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:16:34 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:16:34 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:16:34 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:16:34 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:16:34 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:16:34 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:16:34 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:16:42 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.7ms) Completed 500 Internal Server Error in 12ms ActionView::Template::Error (undefined method `text' for BSON::ObjectId('54b16b734e65692352010000'):BSON::ObjectId): 6: %br 7: - if post.reply_to_id 8: > 9: = post.reply_to_id.text 10: = post.text 11: %br /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:9:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml___4528634016414214953_70183008935340' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183021686840' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.8ms) Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:16:51 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.6ms) Completed 500 Internal Server Error in 13ms ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::Post): 6: %br 7: - if post.reply_to_id 8: > 9: = Post.find(post.reply_to_id).text 10: = post.text 11: %br /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:9:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml___4528634016414214953_70183020356580' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__381824487618790330_70183021686840' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.4ms) Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:17:04 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3350ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.2ms) Completed 200 OK in 41ms (Views: 38.6ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:17:04 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:17:04 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:17:04 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:17:04 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:17:04 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:17:04 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:17:04 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:17:04 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:17:10 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (6.4ms) Completed 200 OK in 33ms (Views: 30.2ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:17:11 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:17:11 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:17:11 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:17:11 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:17:11 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:17:11 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:17:11 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:17:11 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:17:17 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3130ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (6.7ms) Completed 200 OK in 30ms (Views: 25.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:17:17 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:17:17 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:17:17 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:17:17 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:17:17 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:17:17 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:17:17 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:17:17 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:18:12 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2710ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.2ms) Completed 200 OK in 28ms (Views: 24.2ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:18:12 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:18:12 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:18:12 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:18:12 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:18:12 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:18:12 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:18:12 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:18:12 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:18:24 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2920ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (2.3ms) Completed 200 OK in 34ms (Views: 25.3ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:18:24 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:18:24 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:18:24 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:18:24 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:18:24 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:18:24 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:18:24 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:18:24 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:18:24 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4250ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (1.3ms) Completed 200 OK in 29ms (Views: 26.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:18:24 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:18:24 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:18:24 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:18:24 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:18:24 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:18:24 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:18:24 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:18:24 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:18:26 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3740ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (9.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (10.3ms) Completed 200 OK in 38ms (Views: 34.1ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:18:27 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:18:27 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:18:27 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:18:27 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:18:27 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:18:27 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:18:27 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:18:27 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:19:02 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5120ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.3ms) Completed 200 OK in 34ms (Views: 29.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:19:02 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:19:02 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:19:02 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:19:02 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:19:02 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:19:02 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:19:02 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:19:02 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:19:04 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2920ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.6ms) Completed 200 OK in 40ms (Views: 36.3ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:19:04 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:19:04 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:19:04 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:19:04 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:19:04 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:19:04 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:19:04 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:19:04 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:19:27 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5840ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (2.6ms) Completed 200 OK in 30ms (Views: 27.4ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:19:27 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:19:27 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:19:27 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:19:27 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:19:27 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:19:27 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:19:27 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:19:27 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:19:33 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4200ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (1.5ms) Completed 200 OK in 26ms (Views: 22.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:19:33 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:19:33 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:19:33 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:19:33 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:19:33 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:19:33 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:19:33 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:19:33 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:19:40 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3320ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (1.9ms) Completed 200 OK in 25ms (Views: 23.4ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:19:40 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:19:40 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:19:40 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:19:40 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:19:40 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:19:40 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:19:40 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:19:40 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:19:50 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5040ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (1.6ms) Completed 200 OK in 52ms (Views: 49.4ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:19:50 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:19:50 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:19:50 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:19:50 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:19:50 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:19:50 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:19:50 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:19:50 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:20:02 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (1.7ms) Completed 200 OK in 25ms (Views: 22.1ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:20:02 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:20:02 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:20:02 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:20:02 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:20:02 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:20:02 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:20:02 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:20:02 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:20:21 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4470ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (1.7ms) Completed 200 OK in 31ms (Views: 28.0ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:20:21 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:20:21 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:20:21 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:20:21 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:20:21 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:20:21 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:20:21 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:20:21 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:20:42 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3740ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (2.8ms) Completed 200 OK in 28ms (Views: 25.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:20:42 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:20:42 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:20:42 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:20:42 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:20:42 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:20:42 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:20:42 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:20:42 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:20:43 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.4ms) Completed 200 OK in 23ms (Views: 21.2ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:20:43 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:20:43 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:20:43 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:20:43 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:20:43 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:20:43 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:20:43 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:20:43 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:20:47 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4580ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (2.8ms) Completed 200 OK in 33ms (Views: 29.2ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:20:47 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:20:47 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:20:47 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:20:47 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:20:47 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:20:47 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:20:47 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:20:47 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:21:04 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5770ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (3.0ms) Completed 200 OK in 31ms (Views: 27.9ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:21:04 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:21:04 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:21:04 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:21:04 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:21:04 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:21:04 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:21:04 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:21:04 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:21:05 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.7ms) Completed 200 OK in 25ms (Views: 21.4ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:21:05 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:21:05 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:21:05 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:21:05 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:21:05 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:21:05 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:21:05 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:21:05 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:21:12 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (1.7ms) Completed 200 OK in 48ms (Views: 46.0ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:21:12 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:21:12 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:21:12 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:21:12 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:21:12 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:21:12 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:21:12 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:21:12 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:21:17 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3300ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (2.1ms) Completed 200 OK in 28ms (Views: 26.3ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:21:17 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:21:17 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:21:17 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:21:17 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:21:17 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:21:17 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:21:17 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:21:17 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:21:18 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6740ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.5ms) Completed 200 OK in 22ms (Views: 19.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:21:18 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:21:18 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:21:18 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:21:18 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:21:18 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:21:18 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:21:18 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:21:18 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:21:32 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (2.3ms) Completed 200 OK in 29ms (Views: 26.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:21:32 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:21:32 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:21:32 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:21:32 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:21:32 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:21:32 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:21:32 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:21:32 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:21:55 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4080ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (2.6ms) Completed 200 OK in 30ms (Views: 27.1ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:21:55 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:21:55 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:21:55 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:21:55 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:21:55 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:21:55 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:21:55 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:21:55 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:21:59 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1110ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.0ms) Completed 200 OK in 31ms (Views: 28.5ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:21:59 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:21:59 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:21:59 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:21:59 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:21:59 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:21:59 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:21:59 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:21:59 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:22:06 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.1ms) Completed 200 OK in 28ms (Views: 25.4ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:22:06 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:22:06 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:22:06 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:22:06 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:22:06 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:22:06 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:22:06 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:22:06 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:22:19 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.2ms) Completed 200 OK in 34ms (Views: 32.0ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:22:19 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:22:19 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:22:19 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:22:19 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:22:19 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:22:19 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:22:19 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:22:19 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:22:30 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.6ms) Completed 200 OK in 52ms (Views: 49.6ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:22:30 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:22:30 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:22:30 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:22:30 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:22:30 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:22:30 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:22:30 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:22:30 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:22:53 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.0ms) Completed 200 OK in 36ms (Views: 33.6ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:22:53 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:22:53 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:22:53 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:22:53 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:22:53 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:22:53 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:22:53 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:22:53 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:23:02 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.9ms) Completed 200 OK in 30ms (Views: 27.3ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:23:03 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:23:03 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:23:03 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:23:03 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:23:03 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:23:03 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:23:03 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:23:03 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:23:30 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (2.7ms) Completed 500 Internal Server Error in 7ms SyntaxError (/Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:6: syntax error, unexpected tSTRING_BEG, expecting ')' ...t.attributes({}, nil, :border="1")}>\n \n \n ... ... ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:6: syntax error, unexpected ')', expecting tSTRING_DEND ...ttributes({}, nil, :border="1")}>\n \n \n ... ... ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:6: syntax error, unexpected $undefined ...nil, :border="1")}>\n \n \n Name\n \n \n \n Name\n \n <... ... ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:6: unknown regexp options - tr /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:6: syntax error, unexpected $undefined ...n \n By\n \n \n Created at\n... ... ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:6: syntax error, unexpected $undefined ...n By\n \n \n Created at\n \... ... ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:6: syntax error, unexpected $undefined ...r>\n \n Created at\n \n \n L... ... ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:6: unknown regexp options - tr /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:6: syntax error, unexpected $undefined ...n Last post at\n \n \n By\n \n \n By\n \n \n \n", 1, false); ... ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:19: syntax error, unexpected $undefined _hamlout.push_text(" \n \n #{_hamlout.a... ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:19: syntax error, unexpected $undefined ...ut.push_text(" \n \n #{_hamlout.adjust_tabs... ... ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:22: syntax error, unexpected '}', expecting tSTRING_DEND ));}\n \n \n #{ ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:24: unknown regexp options - td /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:24: syntax error, unexpected $undefined ));}\n \n \n \n \n #{ ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:27: unknown regexp options - td /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:27: syntax error, unexpected $undefined ));}\n \n \n", -2, false);end;_... ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:27: unknown regexp options - tabl unmatched close parenthesis: /tr>\n", -2, false);end;_hamlout.push_text("\n", -1, false);::Haml::Util.h... ... ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:27: unterminated string meets end of file /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:27: syntax error, unexpected end-of-input, expecting tSTRING_DEND): /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:6: syntax error, unexpected tSTRING_BEG, expecting ')' ...t.attributes({}, nil, :border="1")}>\n \n \n ... ... ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:6: syntax error, unexpected ')', expecting tSTRING_DEND ...ttributes({}, nil, :border="1")}>\n \n \n ... ... ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:6: syntax error, unexpected $undefined ...nil, :border="1")}>\n \n \n Name\n \n \n \n Name\n \n <... ... ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:6: unknown regexp options - tr /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:6: syntax error, unexpected $undefined ...n \n By\n \n \n Created at\n... ... ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:6: syntax error, unexpected $undefined ...n By\n \n \n Created at\n \... ... ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:6: syntax error, unexpected $undefined ...r>\n \n Created at\n \n \n L... ... ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:6: unknown regexp options - tr /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:6: syntax error, unexpected $undefined ...n Last post at\n \n \n By\n \n \n By\n \n \n \n", 1, false); ... ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:19: syntax error, unexpected $undefined _hamlout.push_text(" \n \n #{_hamlout.a... ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:19: syntax error, unexpected $undefined ...ut.push_text(" \n \n #{_hamlout.adjust_tabs... ... ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:22: syntax error, unexpected '}', expecting tSTRING_DEND ));}\n \n \n #{ ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:24: unknown regexp options - td /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:24: syntax error, unexpected $undefined ));}\n \n \n \n \n #{ ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:27: unknown regexp options - td /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:27: syntax error, unexpected $undefined ));}\n \n \n", -2, false);end;_... ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:27: unknown regexp options - tabl unmatched close parenthesis: /tr>\n", -2, false);end;_hamlout.push_text("\n", -1, false);::Haml::Util.h... ... ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:27: unterminated string meets end of file /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:27: syntax error, unexpected end-of-input, expecting tSTRING_DEND actionview (4.2.0) lib/action_view/template.rb:296:in `module_eval' actionview (4.2.0) lib/action_view/template.rb:296:in `compile' actionview (4.2.0) lib/action_view/template.rb:245:in `block (2 levels) in compile!' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:244:in `block in compile!' actionview (4.2.0) lib/action_view/template.rb:232:in `synchronize' actionview (4.2.0) lib/action_view/template.rb:232:in `compile!' actionview (4.2.0) lib/action_view/template.rb:144:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (22.1ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:23:38 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (4.5ms) Completed 200 OK in 30ms (Views: 27.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:23:38 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:23:38 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:23:38 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:23:38 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:23:38 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:23:38 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:23:38 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:23:38 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:24:09 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (3.9ms) Completed 200 OK in 27ms (Views: 23.6ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:24:09 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:24:09 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:24:09 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:24:09 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:24:09 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:24:09 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:24:09 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:24:09 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:24:46 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (4.7ms) Completed 500 Internal Server Error in 10ms ActionView::Template::Error (undefined method `created_at' for #): 22: %td 23: = topic.user.forum_display_name 24: %td 25: = topic.user.created_at 26: %td 27: = topic.posts.last.created_at 28: %tr mongoid (4.0.0) lib/mongoid/relations/proxy.rb:150:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:25:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2574951758520307216_70183072403640' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:18:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:18:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2574951758520307216_70183072403640' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (21.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (42.5ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:24:52 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.8ms) Completed 500 Internal Server Error in 11ms ActionView::Template::Error (undefined method `created_at' for #): 22: %td 23: = topic.user.forum_display_name 24: %td 25: = topic.user.created_at 26: %td 27: = topic.posts 28: %tr mongoid (4.0.0) lib/mongoid/relations/proxy.rb:150:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:25:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2574951758520307216_70183071531300' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:18:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:18:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2574951758520307216_70183071531300' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.0ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:24:54 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (2.8ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (undefined method `created_at' for #): 22: %td 23: = topic.user.forum_display_name 24: %td 25: = topic.user.created_at 26: %td 27: = topic.posts 28: %tr mongoid (4.0.0) lib/mongoid/relations/proxy.rb:150:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:25:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2574951758520307216_70183071531300' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:18:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:18:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2574951758520307216_70183071531300' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (27.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (40.9ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:24:58 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (4.6ms) Completed 200 OK in 26ms (Views: 24.3ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:24:58 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:24:58 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:24:58 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:24:58 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:24:58 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:24:58 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:24:58 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:24:58 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:25:04 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.6ms) Completed 200 OK in 27ms (Views: 24.3ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:25:04 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:25:04 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:25:04 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:25:04 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:25:04 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:25:04 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:25:04 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:25:04 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:25:10 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.4ms) Completed 200 OK in 27ms (Views: 24.4ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:25:10 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:25:10 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:25:10 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:25:10 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:25:10 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:25:10 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:25:10 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:25:10 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:25:40 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (8.5ms) Completed 200 OK in 34ms (Views: 31.3ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:25:40 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:25:40 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:25:40 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:25:40 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:25:40 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:25:40 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:25:40 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:25:40 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:25:54 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (7.2ms) Completed 200 OK in 31ms (Views: 28.2ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:25:55 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:25:55 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:25:55 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:25:55 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:25:55 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:25:55 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:25:55 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:25:55 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:25:59 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (7.4ms) Completed 200 OK in 29ms (Views: 27.2ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:25:59 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:25:59 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:25:59 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:25:59 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:25:59 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:25:59 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:25:59 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:25:59 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:26:08 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (8.3ms) Completed 200 OK in 31ms (Views: 29.1ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:26:08 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:26:08 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:26:08 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:26:08 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:26:08 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:26:08 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:26:08 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:26:08 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:26:19 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (28.9ms) Completed 200 OK in 51ms (Views: 48.6ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:26:19 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:26:19 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:26:19 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:26:19 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:26:19 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:26:19 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:26:19 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:26:19 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:26:26 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (8.2ms) Completed 200 OK in 33ms (Views: 30.7ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:26:26 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:26:26 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:26:26 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:26:26 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:26:26 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:26:26 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:26:26 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:26:26 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:26:34 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (8.3ms) Completed 200 OK in 30ms (Views: 27.6ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:26:34 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:26:34 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:26:34 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:26:34 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:26:34 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:26:34 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:26:34 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:26:34 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:26:42 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (7.1ms) Completed 200 OK in 31ms (Views: 28.6ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:26:42 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:26:42 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:26:42 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:26:42 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:26:42 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:26:42 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:26:42 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:26:42 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:26:45 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4070ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.5ms) Completed 200 OK in 35ms (Views: 33.0ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:26:46 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:26:46 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:26:46 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:26:46 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:26:46 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:26:46 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:26:46 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:26:46 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:26:48 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.8ms) Completed 200 OK in 34ms (Views: 31.3ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:26:48 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:26:48 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:26:48 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:26:48 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:26:48 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:26:48 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:26:48 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:26:48 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:30:25 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2980ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (5.7ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (undefined method `forum_display_name' for #): 14: %td 15: = link_to forum.name, forum 16: %td 17: = forum.topics.forum_display_name 18: = time_ago_in_words( topic.created_at ) 19: ago mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:413:in `public_send' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:413:in `block in method_missing' mongoid (4.0.0) lib/mongoid/scopable.rb:239:in `with_scope' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:412:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:17:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183046661080' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:12:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183046661080' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.2ms) Started GET "/forums" for ::1 at 2015-01-10 13:30:39 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6290ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (7.9ms) Completed 500 Internal Server Error in 10ms ActionView::Template::Error (undefined method `map' for #): 14: %td 15: = link_to forum.name, forum 16: %td 17: = forum.topics.last.map {|topic| topic.created_at} 18: = time_ago_in_words( topic.created_at ) 19: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:17:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183048758720' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:12:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183048758720' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.5ms) Started GET "/forums" for ::1 at 2015-01-10 13:30:48 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4360ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (38.6ms) Completed 500 Internal Server Error in 41ms ActionView::Template::Error (undefined local variable or method `topic' for #<#:0x007fa983b42e70>): 15: = link_to forum.name, forum 16: %td 17: = forum.topics.map {|topic| topic.created_at} 18: = time_ago_in_words( topic.created_at ) 19: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:18:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183017840200' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:12:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183017840200' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.5ms) Started GET "/forums" for ::1 at 2015-01-10 13:30:56 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3660ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (5.8ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (undefined method `created_at' for #): 15: = link_to forum.name, forum 16: %td 17: = forum.topics.map {|topic| topic.created_at} 18: = time_ago_in_words( forum.created_at ) 19: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:18:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183010158140' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:12:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183010158140' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.9ms) Started GET "/forums" for ::1 at 2015-01-10 13:31:05 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4590ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (5.9ms) Completed 200 OK in 29ms (Views: 28.7ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:31:05 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:31:05 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:31:05 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:31:05 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:31:05 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:31:05 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:31:05 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:31:05 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:32:05 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:aggregate=>"mongoid_forums_topics", :pipeline=>[{"$match"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), ""=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$"}, "min"=>{"$min"=>"$"}, "sum"=>{"$sum"=>"$"}, "avg"=>{"$avg"=>"$"}}}]} runtime: 11.7030ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (17.4ms) Completed 500 Internal Server Error in 20ms ActionView::Template::Error (The operation: #"mongoid_forums_topics", :pipeline=>[{"$match"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), ""=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$"}, "min"=>{"$min"=>"$"}, "sum"=>{"$sum"=>"$"}, "avg"=>{"$avg"=>"$"}}}]} @fields=nil> failed with error 15998: "exception: FieldPath field names may not be empty strings." See https://github.com/mongodb/mongo/blob/master/docs/errors.md for details about this error.): 14: %td 15: = link_to forum.name, forum 16: %td 17: = forum.topics.max moped (2.0.3) lib/moped/operation/read.rb:50:in `block in execute' moped (2.0.3) lib/moped/node.rb:594:in `[]' moped (2.0.3) lib/moped/node.rb:594:in `block (2 levels) in flush' moped (2.0.3) lib/moped/node.rb:593:in `map' moped (2.0.3) lib/moped/node.rb:593:in `block in flush' moped (2.0.3) lib/moped/node.rb:617:in `block in logging' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' moped (2.0.3) lib/moped/instrumentable.rb:31:in `instrument' moped (2.0.3) lib/moped/node.rb:616:in `logging' moped (2.0.3) lib/moped/node.rb:587:in `flush' moped (2.0.3) lib/moped/node.rb:391:in `process' moped (2.0.3) lib/moped/operation/read.rb:48:in `execute' moped (2.0.3) lib/moped/node.rb:648:in `read' moped (2.0.3) lib/moped/node.rb:90:in `command' moped (2.0.3) lib/moped/database.rb:73:in `block in command' moped (2.0.3) lib/moped/cluster.rb:249:in `block in with_primary' moped (2.0.3) lib/moped/node.rb:204:in `block in ensure_primary' moped (2.0.3) lib/moped/executable.rb:25:in `execute' moped (2.0.3) lib/moped/node.rb:203:in `ensure_primary' moped (2.0.3) lib/moped/cluster.rb:248:in `with_primary' moped (2.0.3) lib/moped/read_preference/primary.rb:55:in `block in with_node' moped (2.0.3) lib/moped/read_preference/selectable.rb:65:in `call' moped (2.0.3) lib/moped/read_preference/selectable.rb:65:in `with_retry' moped (2.0.3) lib/moped/read_preference/primary.rb:54:in `with_node' moped (2.0.3) lib/moped/database.rb:72:in `command' moped (2.0.3) lib/moped/session.rb:83:in `command' moped (2.0.3) lib/moped/collection.rb:146:in `aggregate' mongoid (4.0.0) lib/mongoid/contextual/aggregable/mongo.rb:26:in `aggregates' mongoid (4.0.0) lib/mongoid/contextual/aggregable/mongo.rb:67:in `max' mongoid (4.0.0) lib/mongoid/contextual.rb:12:in `max' mongoid (4.0.0) lib/mongoid/relations/many.rb:9:in `max' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:17:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183055215540' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:12:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183055215540' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (25.3ms) Started GET "/forums" for ::1 at 2015-01-10 13:32:28 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:aggregate=>"mongoid_forums_topics", :pipeline=>[{"$match"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), ""=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$"}, "min"=>{"$min"=>"$"}, "sum"=>{"$sum"=>"$"}, "avg"=>{"$avg"=>"$"}}}]} runtime: 0.9440ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (7.5ms) Completed 500 Internal Server Error in 11ms ActionView::Template::Error (The operation: #"mongoid_forums_topics", :pipeline=>[{"$match"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), ""=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$"}, "min"=>{"$min"=>"$"}, "sum"=>{"$sum"=>"$"}, "avg"=>{"$avg"=>"$"}}}]} @fields=nil> failed with error 15998: "exception: FieldPath field names may not be empty strings." See https://github.com/mongodb/mongo/blob/master/docs/errors.md for details about this error.): 14: %td 15: = link_to forum.name, forum 16: %td 17: = forum.topics.max.posts.last moped (2.0.3) lib/moped/operation/read.rb:50:in `block in execute' moped (2.0.3) lib/moped/node.rb:594:in `[]' moped (2.0.3) lib/moped/node.rb:594:in `block (2 levels) in flush' moped (2.0.3) lib/moped/node.rb:593:in `map' moped (2.0.3) lib/moped/node.rb:593:in `block in flush' moped (2.0.3) lib/moped/node.rb:617:in `block in logging' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' moped (2.0.3) lib/moped/instrumentable.rb:31:in `instrument' moped (2.0.3) lib/moped/node.rb:616:in `logging' moped (2.0.3) lib/moped/node.rb:587:in `flush' moped (2.0.3) lib/moped/node.rb:391:in `process' moped (2.0.3) lib/moped/operation/read.rb:48:in `execute' moped (2.0.3) lib/moped/node.rb:648:in `read' moped (2.0.3) lib/moped/node.rb:90:in `command' moped (2.0.3) lib/moped/database.rb:73:in `block in command' moped (2.0.3) lib/moped/cluster.rb:249:in `block in with_primary' moped (2.0.3) lib/moped/node.rb:204:in `block in ensure_primary' moped (2.0.3) lib/moped/executable.rb:25:in `execute' moped (2.0.3) lib/moped/node.rb:203:in `ensure_primary' moped (2.0.3) lib/moped/cluster.rb:248:in `with_primary' moped (2.0.3) lib/moped/read_preference/primary.rb:55:in `block in with_node' moped (2.0.3) lib/moped/read_preference/selectable.rb:65:in `call' moped (2.0.3) lib/moped/read_preference/selectable.rb:65:in `with_retry' moped (2.0.3) lib/moped/read_preference/primary.rb:54:in `with_node' moped (2.0.3) lib/moped/database.rb:72:in `command' moped (2.0.3) lib/moped/session.rb:83:in `command' moped (2.0.3) lib/moped/collection.rb:146:in `aggregate' mongoid (4.0.0) lib/mongoid/contextual/aggregable/mongo.rb:26:in `aggregates' mongoid (4.0.0) lib/mongoid/contextual/aggregable/mongo.rb:67:in `max' mongoid (4.0.0) lib/mongoid/contextual.rb:12:in `max' mongoid (4.0.0) lib/mongoid/relations/many.rb:9:in `max' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:17:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183048437780' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:12:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183048437780' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (24.3ms) Started GET "/forums" for ::1 at 2015-01-10 13:32:51 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5130ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (5.5ms) Completed 200 OK in 52ms (Views: 51.3ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:32:51 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:32:51 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:32:51 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:32:51 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:32:51 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:32:51 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:32:51 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:32:51 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:33:03 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4790ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (6.1ms) Completed 200 OK in 27ms (Views: 26.7ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:33:03 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:33:03 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:33:03 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:33:03 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:33:03 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:33:03 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:33:03 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:33:03 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:33:10 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (4.9ms) Completed 200 OK in 26ms (Views: 26.0ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:33:10 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:33:10 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:33:10 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:33:10 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:33:10 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:33:10 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:33:10 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:33:10 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:33:11 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5450ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (3.8ms) Completed 200 OK in 24ms (Views: 23.5ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:33:11 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:33:11 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:33:11 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:33:11 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:33:11 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:33:11 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:33:11 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:33:11 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:33:17 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3700ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (4.6ms) Completed 200 OK in 25ms (Views: 24.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:33:17 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:33:17 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:33:17 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:33:17 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:33:17 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:33:17 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:33:17 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:33:17 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:33:18 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (8.4ms) Completed 200 OK in 33ms (Views: 29.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:33:18 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:33:18 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:33:18 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:33:18 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:33:18 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:33:18 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:33:18 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:33:18 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:33:20 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.9ms) Completed 200 OK in 32ms (Views: 30.0ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:33:20 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:33:20 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:33:20 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:33:20 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:33:20 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:33:20 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:33:20 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:33:20 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:33:39 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (5.9ms) Completed 200 OK in 27ms (Views: 26.4ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:33:39 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:33:39 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:33:39 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:33:39 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:33:39 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:33:39 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:33:39 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:33:39 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:33:41 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (7.5ms) Completed 200 OK in 33ms (Views: 30.4ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:33:41 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:33:41 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:33:41 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:33:41 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:33:41 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:33:41 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:33:41 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:33:41 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:33:42 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.1ms) Completed 200 OK in 39ms (Views: 36.6ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:33:42 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:33:42 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:33:42 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:33:42 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:33:42 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:33:42 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:33:42 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:33:42 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:34:30 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4270ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (9.0ms) Completed 200 OK in 32ms (Views: 31.6ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:34:30 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:34:30 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:34:30 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:34:30 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:34:30 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:34:30 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:34:30 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:34:30 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:34:32 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (4.4ms) Completed 200 OK in 32ms (Views: 29.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:34:32 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:34:32 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:34:32 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:34:32 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:34:32 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:34:32 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:34:32 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:34:32 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:34:33 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5340ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.1ms) Completed 200 OK in 35ms (Views: 31.5ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:34:33 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:34:33 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:34:33 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:34:33 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:34:33 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:34:33 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:34:33 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:34:33 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:35:15 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5260ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (6.1ms) Completed 200 OK in 28ms (Views: 27.6ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:35:15 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:35:15 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:35:15 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:35:15 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:35:15 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:35:15 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:35:15 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:35:15 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:35:41 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4610ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (8.4ms) Completed 200 OK in 29ms (Views: 28.4ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:35:41 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:35:41 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:35:41 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:35:41 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:35:41 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:35:41 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:35:41 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:35:41 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:35:48 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5150ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (8.3ms) Completed 200 OK in 50ms (Views: 50.1ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:35:48 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:35:48 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:35:48 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:35:48 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:35:48 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:35:48 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:35:48 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:35:48 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:35:49 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4720ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (4.8ms) Completed 200 OK in 28ms (Views: 27.6ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:35:49 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:35:49 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:35:49 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:35:49 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:35:49 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:35:49 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:35:49 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:35:49 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:36:02 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5740ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (7.0ms) Completed 500 Internal Server Error in 10ms ActionView::Template::Error (undefined method `name' for Sat, 10 Jan 2015 18:15:42 UTC +00:00:Time): 15: = link_to forum.name, forum 16: %td 17: - last_topic = forum.topics.map {|topic| topic.posts.map {|post| post.created_at}.max}.max 18: = time_ago_in_words ( last_topic.name ) 19: ago by activesupport (4.2.0) lib/active_support/time_with_zone.rb:371:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:18:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183049683220' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:12:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183049683220' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (17.6ms) Started GET "/forums" for ::1 at 2015-01-10 13:36:06 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5440ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (10.3ms) Completed 200 OK in 32ms (Views: 31.4ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:36:07 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:36:07 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:36:07 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:36:07 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:36:07 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:36:07 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:36:07 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:36:07 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:36:46 -0500 Processing by MongoidForums::ForumsController#index as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (0.9ms) Completed 500 Internal Server Error in 3ms ActionView::Template::Error (The line was indented 2 levels deeper than the previous line.): 15: = link_to forum.name, forum 16: %td 17: - last_topic = forum.topics.map { 18: |topic| topic.posts.map { 19: |post| post.created_at 20: }.max.created_at 21: }.max /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:18 haml (4.0.6) lib/haml/parser.rb:128:in `parse' haml (4.0.6) lib/haml/engine.rb:66:in `initialize' haml (4.0.6) lib/haml/template/plugin.rb:25:in `new' haml (4.0.6) lib/haml/template/plugin.rb:25:in `compile' haml (4.0.6) lib/haml/template/plugin.rb:30:in `call' actionview (4.2.0) lib/action_view/template.rb:270:in `compile' actionview (4.2.0) lib/action_view/template.rb:245:in `block (2 levels) in compile!' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:244:in `block in compile!' actionview (4.2.0) lib/action_view/template.rb:232:in `synchronize' actionview (4.2.0) lib/action_view/template.rb:232:in `compile!' actionview (4.2.0) lib/action_view/template.rb:144:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.2ms) Started GET "/forums" for ::1 at 2015-01-10 13:37:14 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9680ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (10.4ms) Completed 500 Internal Server Error in 13ms ActionView::Template::Error (undefined method `created_at' for Sat, 10 Jan 2015 18:15:42 UTC +00:00:Time): 14: %td 15: = link_to forum.name, forum 16: %td 17: - last_topic = forum.topics.map { |topic| topic.posts.map { |post| post.created_at }.max.created_at }.max 18: 19: = time_ago_in_words ( last_topic ) 20: ago by activesupport (4.2.0) lib/active_support/time_with_zone.rb:371:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:17:in `block (2 levels) in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183071846820' mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:184:in `block in each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:181:in `each' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:410:in `map' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:410:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:17:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183071846820' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:12:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183071846820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.1ms) Started GET "/forums" for ::1 at 2015-01-10 13:37:24 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4150ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (8.0ms) Completed 500 Internal Server Error in 11ms ActionView::Template::Error (undefined method `>' for [Sat, 10 Jan 2015 18:15:42 UTC +00:00]:Array): 16: %td 17: - last_topic = forum.topics.map { |topic| topic.posts.map { |post| post.created_at }.max } 18: 19: = time_ago_in_words ( last_topic ) 20: ago by actionview (4.2.0) lib/action_view/helpers/date_helper.rb:78:in `distance_of_time_in_words' actionview (4.2.0) lib/action_view/helpers/date_helper.rb:157:in `time_ago_in_words' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:19:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183072338480' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:12:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183072338480' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.1ms) Started GET "/forums" for ::1 at 2015-01-10 13:37:34 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3890ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (5.8ms) Completed 200 OK in 27ms (Views: 26.8ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:37:34 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:37:34 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:37:34 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:37:34 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:37:34 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:37:34 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:37:34 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:37:34 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:37:37 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5770ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (10.1ms) Completed 500 Internal Server Error in 13ms ActionView::Template::Error (undefined method `>' for [Sat, 10 Jan 2015 18:15:42 UTC +00:00]:Array): 15: = link_to forum.name, forum 16: %td 17: - last_topic = forum.topics.map {|topic| topic.posts.map {|post| post.created_at}.max} 18: = time_ago_in_words ( last_topic ) 19: ago by actionview (4.2.0) lib/action_view/helpers/date_helper.rb:78:in `distance_of_time_in_words' actionview (4.2.0) lib/action_view/helpers/date_helper.rb:157:in `time_ago_in_words' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:18:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183057718460' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:12:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183057718460' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (17.6ms) Started GET "/forums" for ::1 at 2015-01-10 13:37:45 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5190ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (7.5ms) Completed 500 Internal Server Error in 11ms ActionView::Template::Error (undefined method `created_at' for [Sat, 10 Jan 2015 18:15:42 UTC +00:00]:Array): 15: = link_to forum.name, forum 16: %td 17: - last_topic = forum.topics.map {|topic| topic.posts.map {|post| post.created_at}.max} 18: = time_ago_in_words ( last_topic.created_at ) 19: ago by /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:18:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183062786680' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:12:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183062786680' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.4ms) Started GET "/forums" for ::1 at 2015-01-10 13:37:50 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (6.1ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (undefined method `>' for [Sat, 10 Jan 2015 18:15:42 UTC +00:00]:Array): 15: = link_to forum.name, forum 16: %td 17: - last_topic = forum.topics.map {|topic| topic.posts.map {|post| post.created_at}.max} 18: = time_ago_in_words ( last_topic ) 19: ago by actionview (4.2.0) lib/action_view/helpers/date_helper.rb:78:in `distance_of_time_in_words' actionview (4.2.0) lib/action_view/helpers/date_helper.rb:157:in `time_ago_in_words' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:18:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183048532940' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:12:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183048532940' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.6ms) Started GET "/forums" for ::1 at 2015-01-10 13:40:23 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4950ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (6.8ms) Completed 500 Internal Server Error in 9ms ActionView::Template::Error (undefined method `>' for #): 15: = link_to forum.name, forum 16: %td 17: - last_topic = forum.topics.sort_by {|topic| topic.created_at} 18: = time_ago_in_words ( last_topic ) 19: ago by actionview (4.2.0) lib/action_view/helpers/date_helper.rb:78:in `distance_of_time_in_words' actionview (4.2.0) lib/action_view/helpers/date_helper.rb:157:in `time_ago_in_words' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:18:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183020291800' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:12:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183020291800' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.4ms) Started GET "/forums" for ::1 at 2015-01-10 13:40:48 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (7.5ms) Completed 500 Internal Server Error in 10ms ActionView::Template::Error (undefined method `>' for #): 15: = link_to forum.name, forum 16: %td 17: - last_topic = forum.topics.sort_by {|topic| topic.created_at}.first.posts.sort_by {|post| post.created_at}.first 18: = time_ago_in_words ( last_topic ) 19: ago by actionview (4.2.0) lib/action_view/helpers/date_helper.rb:78:in `distance_of_time_in_words' actionview (4.2.0) lib/action_view/helpers/date_helper.rb:157:in `time_ago_in_words' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:18:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183064324300' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:12:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183064324300' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.4ms) Started GET "/forums" for ::1 at 2015-01-10 13:40:57 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (8.1ms) Completed 500 Internal Server Error in 10ms ActionView::Template::Error (undefined method `>' for #): 15: = link_to forum.name, forum 16: %td 17: - last_topic = forum.topics.sort_by {|topic| topic.created_at}.first.posts.sort_by {|post| post.created_at}.first.topic 18: = time_ago_in_words ( last_topic ) 19: ago by mongoid (4.0.0) lib/mongoid/relations/proxy.rb:150:in `method_missing' actionview (4.2.0) lib/action_view/helpers/date_helper.rb:78:in `distance_of_time_in_words' actionview (4.2.0) lib/action_view/helpers/date_helper.rb:157:in `time_ago_in_words' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:18:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183063067000' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:12:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183063067000' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.7ms) Started GET "/forums" for ::1 at 2015-01-10 13:41:07 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2920ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (6.5ms) Completed 200 OK in 30ms (Views: 30.0ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:41:07 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:41:07 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:41:07 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:41:07 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:41:07 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:41:07 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:41:07 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:41:07 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:41:09 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (6.9ms) Completed 200 OK in 66ms (Views: 61.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:41:10 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:41:10 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:41:10 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:41:10 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:41:10 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:41:10 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:41:10 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:41:10 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:41:11 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.3ms) Completed 200 OK in 37ms (Views: 32.7ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:41:11 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:41:11 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:41:11 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:41:11 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:41:11 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:41:11 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:41:11 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:41:11 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:41:44 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (4.9ms) Completed 200 OK in 30ms (Views: 27.0ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:41:45 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:41:45 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:41:45 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:41:45 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:41:45 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:41:45 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:41:45 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:41:45 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:41:45 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.4ms) Completed 200 OK in 30ms (Views: 28.2ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:41:45 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:41:45 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:41:45 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:41:45 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:41:45 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:41:45 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:41:45 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:41:45 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:41:59 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (4.5ms) Completed 200 OK in 35ms (Views: 31.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:42:00 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:42:00 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:42:00 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:42:00 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:42:00 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:42:00 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:42:00 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:42:00 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:42:01 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (6.2ms) Completed 200 OK in 34ms (Views: 31.6ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:42:01 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:42:01 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:42:01 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:42:01 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:42:01 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:42:01 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:42:01 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:42:01 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:42:04 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (7.7ms) Completed 200 OK in 37ms (Views: 36.6ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:42:04 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:42:04 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:42:04 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:42:04 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:42:04 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:42:05 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:42:05 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:42:05 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:42:05 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3170ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (6.1ms) Completed 200 OK in 49ms (Views: 48.5ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:42:05 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:42:05 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:42:05 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:42:05 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:42:05 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:42:05 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:42:05 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:42:05 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:42:08 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (9.2ms) Completed 200 OK in 35ms (Views: 34.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:42:08 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:42:08 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:42:08 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:42:08 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:42:08 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:42:08 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:42:08 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:42:08 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:42:08 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (5.6ms) Completed 200 OK in 29ms (Views: 28.9ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:42:09 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:42:09 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:42:09 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:42:09 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:42:09 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:42:09 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:42:09 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:42:09 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:42:09 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (6.7ms) Completed 200 OK in 32ms (Views: 31.7ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:42:09 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:42:09 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:42:09 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:42:09 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:42:09 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:42:09 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:42:09 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:42:09 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:42:27 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4880ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (6.8ms) Completed 200 OK in 33ms (Views: 33.2ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:42:27 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:42:27 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:42:27 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:42:27 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:42:27 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:42:27 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:42:27 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:42:27 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:43:09 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 3.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.5ms) Completed 200 OK in 40ms (Views: 32.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:43:09 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:43:09 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:43:10 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:43:10 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:43:10 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:43:10 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:43:10 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:43:10 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:44:21 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (4.3ms) Completed 200 OK in 34ms (Views: 31.1ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:44:22 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:44:22 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:44:22 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:44:22 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:44:22 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:44:22 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:44:22 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:44:22 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:44:22 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.8ms) Completed 200 OK in 55ms (Views: 51.6ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:44:22 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:44:22 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:44:22 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:44:22 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:44:22 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:44:22 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:44:22 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:44:22 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:44:24 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4920ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (3.3ms) Completed 200 OK in 29ms (Views: 28.6ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:44:24 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:44:24 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:44:24 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:44:24 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:44:24 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:44:24 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:44:24 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:44:24 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:44:25 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3480ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (3.6ms) Completed 200 OK in 27ms (Views: 26.5ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:44:25 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:44:25 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:44:25 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:44:25 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:44:25 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:44:25 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:44:25 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:44:25 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:44:33 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (7.2ms) Completed 200 OK in 31ms (Views: 30.8ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:44:33 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:44:33 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:44:33 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:44:33 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:44:33 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:44:33 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:44:33 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:44:33 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:44:34 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.3ms) Completed 200 OK in 36ms (Views: 31.4ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:44:34 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:44:34 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:44:34 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:44:34 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:44:34 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:44:34 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:44:34 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:44:34 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:44:54 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (8.8ms) Completed 200 OK in 35ms (Views: 34.6ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:44:55 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:44:55 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:44:55 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:44:55 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:44:55 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:44:55 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:44:55 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:44:55 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:45:00 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (8.0ms) Completed 200 OK in 37ms (Views: 36.3ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:45:00 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:45:00 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:45:00 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:45:00 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:45:00 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:45:00 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:45:00 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:45:00 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:45:01 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (6.0ms) Completed 200 OK in 62ms (Views: 59.0ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:45:02 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:45:02 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:45:02 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:45:02 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:45:02 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:45:02 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:45:02 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:45:02 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:45:25 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6360ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (8.1ms) Completed 200 OK in 32ms (Views: 32.0ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:45:25 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:45:25 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:45:25 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:45:25 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:45:25 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:45:25 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:45:25 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:45:25 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:45:49 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (9.2ms) Completed 200 OK in 38ms (Views: 37.7ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:45:49 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:45:49 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:45:49 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:45:49 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:45:49 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:45:49 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:45:49 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:45:49 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:46:11 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (18.0ms) Completed 500 Internal Server Error in 20ms ActionView::Template::Error (undefined method `topic_path' for #<#:0x007fa9886be9d0>): 17: - last_post = forum.topics.last.posts.last 18: = time_ago_in_words ( last_post.created_at ) 19: ago on 20: = link_to last_post.topic.name, last_post.topic 21: by 22: = last_post.user.forum_display_name actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:268:in `handle_model_call' actionview (4.2.0) lib/action_view/routing_url_for.rb:113:in `url_for' actionview (4.2.0) lib/action_view/helpers/url_helper.rb:181:in `link_to' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:20:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183057472500' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:12:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183057472500' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.6ms) Started GET "/forums" for ::1 at 2015-01-10 13:46:15 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (15.6ms) Completed 500 Internal Server Error in 18ms ActionView::Template::Error (undefined method `topic_path' for #<#:0x007fa987643470>): 17: - last_post = forum.topics.last.posts.last 18: = time_ago_in_words ( last_post.created_at ) 19: ago on 20: = link_to last_post.topic.name, last_post.topic 21: by 22: = last_post.user.forum_display_name actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:268:in `handle_model_call' actionview (4.2.0) lib/action_view/routing_url_for.rb:113:in `url_for' actionview (4.2.0) lib/action_view/helpers/url_helper.rb:181:in `link_to' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:20:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183057472500' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:12:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183057472500' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.6ms) Started GET "/forums" for ::1 at 2015-01-10 13:46:42 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (8.6ms) Completed 200 OK in 32ms (Views: 31.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:46:42 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:46:42 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:46:42 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:46:42 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:46:42 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:46:42 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:46:42 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:46:42 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:46:44 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5000ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (12.3ms) Completed 200 OK in 65ms (Views: 61.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:46:44 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:46:44 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:46:44 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:46:44 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:46:44 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:46:44 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:46:44 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:46:44 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:46:52 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (7.0ms) Completed 200 OK in 30ms (Views: 30.0ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:46:52 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:46:52 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:46:52 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:46:52 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:46:52 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:46:52 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:46:52 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:46:52 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:47:23 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (9.2ms) Completed 200 OK in 28ms (Views: 27.6ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:47:23 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:47:23 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:47:23 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:47:23 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:47:23 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:47:23 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:47:23 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:47:23 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:48:17 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4730ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (6.0ms) Completed 500 Internal Server Error in 20ms ActionView::Template::Error (undefined method `each' for nil:NilClass): 11: %th 12: Last post 13: 14: - @forums.each do |forum| 15: %tr 16: %td 17: = link_to forum.name, forum /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:14:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183072141780' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__932887087927064177_70183072141780' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.5ms) Started GET "/forums" for ::1 at 2015-01-10 13:48:27 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (31.1ms) Completed 200 OK in 56ms (Views: 55.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:48:27 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:48:27 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:48:27 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:48:27 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:48:27 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:48:27 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:48:27 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:48:27 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:48:31 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5880ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (8.9ms) Completed 200 OK in 38ms (Views: 34.6ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:48:31 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:48:31 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:48:31 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:48:31 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:48:31 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:48:31 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:48:31 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:48:31 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:48:34 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.3ms) Completed 200 OK in 31ms (Views: 28.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:48:34 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:48:34 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:48:34 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:48:34 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:48:34 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:48:34 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:48:34 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:48:34 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:48:39 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.7ms) Completed 200 OK in 35ms (Views: 32.0ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:48:39 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:48:39 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:48:39 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:48:39 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:48:39 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:48:39 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:48:39 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:48:39 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:49:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (6.7ms) Completed 200 OK in 30ms (Views: 29.3ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:49:20 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:49:20 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:49:20 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:49:20 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:49:20 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:49:20 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:49:20 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:49:20 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:49:21 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (8.8ms) Completed 200 OK in 30ms (Views: 29.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:49:21 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:49:21 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:49:21 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:49:21 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:49:21 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:49:21 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:49:21 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:49:21 -0500 Started GET "/forums" for ::1 at 2015-01-10 13:49:21 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (9.0ms) Completed 200 OK in 34ms (Views: 34.1ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:49:21 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:49:21 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:49:21 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:49:21 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:49:21 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:49:21 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:49:21 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:49:21 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:49:22 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (4.7ms) Completed 200 OK in 38ms (Views: 34.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:49:22 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:49:22 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:49:23 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:49:23 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:49:23 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:49:23 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:49:23 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:49:23 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:49:24 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6810ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (6.7ms) Completed 200 OK in 39ms (Views: 35.0ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:49:24 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:49:24 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:49:24 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:49:24 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:49:24 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:49:24 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:49:24 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:49:24 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:50:25 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.5ms) Completed 200 OK in 33ms (Views: 29.1ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:50:25 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:50:26 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:50:26 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:50:26 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:50:26 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:50:26 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:50:26 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:50:26 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:51:12 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (4.1ms) Completed 500 Internal Server Error in 10ms ActionView::Template::Error (No route matches {:action=>"new", :controller=>"mongoid_forums/topics", :id=>"54b163bf4e656920a7000000"} missing required keys: [:forum_id]): 1: %h1 Viewing Forum "#{@forum.name}" 2: = link_to "Add a topic", new_forum_topic_path 3: %br 4: %br 5: %h2 Topics: actionpack (4.2.0) lib/action_dispatch/journey/formatter.rb:46:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:710:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:741:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:784:in `url_for' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:279:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:222:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:334:in `block (2 levels) in define_url_helper' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2574951758520307216_70183046529980' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.9ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:51:21 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (8.1ms) Completed 200 OK in 33ms (Views: 30.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:51:21 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:51:21 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:51:21 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:51:21 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:51:21 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:51:21 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:51:21 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:51:21 -0500 Started GET "/forums/54b163bf4e656920a7000000/topics/new" for ::1 at 2015-01-10 13:51:22 -0500 Processing by MongoidForums::TopicsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/new.html.erb within layouts/mongoid_forums/application (0.3ms) Completed 200 OK in 28ms (Views: 28.1ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:51:22 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:51:22 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:51:22 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:51:22 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:51:22 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:51:22 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:51:22 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:51:22 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 13:57:32 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.7ms) Completed 200 OK in 33ms (Views: 29.7ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:57:32 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:57:32 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:57:32 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:57:32 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:57:32 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:57:32 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:57:32 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:57:32 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 13:57:56 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"forum_id"=>"forums", "id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4330ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.8ms) Completed 200 OK in 36ms (Views: 31.4ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:57:56 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:57:56 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:57:56 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:57:56 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:57:56 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:57:56 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:57:56 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:57:56 -0500 Started GET "/forums/54b163bf4e656920a7000000/topics/new" for ::1 at 2015-01-10 13:58:00 -0500 Processing by MongoidForums::TopicsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/new.html.erb within layouts/mongoid_forums/application (0.1ms) Completed 200 OK in 26ms (Views: 25.7ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:58:00 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:58:00 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 13:58:00 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:58:00 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 13:58:00 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:58:00 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 13:58:00 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 13:58:00 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:00:17 -0500 ActionController::RoutingError (No route matches [GET] "/forums/54b163bf4e656920a7000000/new"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (42.5ms) Started GET "/forums/54b163bf4e656920a7000000/topics/new" for ::1 at 2015-01-10 14:05:19 -0500 Processing by MongoidForums::TopicsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/new.html.erb within layouts/mongoid_forums/application (0.1ms) Completed 200 OK in 34ms (Views: 26.2ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:05:19 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:05:19 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:05:19 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:05:19 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:05:19 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:05:19 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:05:19 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:05:19 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:05:22 -0500 ActionController::RoutingError (No route matches [GET] "/forums/54b163bf4e656920a7000000/new"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (53.2ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:05:33 -0500 ActionController::RoutingError (No route matches [GET] "/forums/54b163bf4e656920a7000000/new"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (37.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (8.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (98.9ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:05:34 -0500 ActionController::RoutingError (No route matches [GET] "/forums/54b163bf4e656920a7000000/new"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (41.4ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:08:57 -0500 ActionController::RoutingError (No route matches [GET] "/forums/54b163bf4e656920a7000000/new"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (38.9ms) Started GET "/forums/54b163bf4e656920a7000000/topics/new" for ::1 at 2015-01-10 14:09:00 -0500 ActionController::RoutingError (No route matches [GET] "/forums/54b163bf4e656920a7000000/topics/new"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (36.5ms) Started GET "/forums/54b163bf4e656920a7000000/topics/new" for ::1 at 2015-01-10 14:09:00 -0500 ActionController::RoutingError (No route matches [GET] "/forums/54b163bf4e656920a7000000/topics/new"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (29.4ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 14:09:01 -0500 ActionController::RoutingError (No route matches [GET] "/forums/54b163bf4e656920a7000000"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (31.5ms) Started GET "/forums" for ::1 at 2015-01-10 14:09:02 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"forums"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>"forums"} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms Completed 404 Not Found in 25ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) forums. Summary: When calling MongoidForums::Forum.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): forums ... (1 total) and the following ids were not found: forums. Resolution: Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.): mongoid (4.0.0) lib/mongoid/criteria.rb:475:in `check_for_missing_documents!' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:20:in `execute_or_raise' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:40:in `find' mongoid (4.0.0) lib/mongoid/findable.rb:90:in `find' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:10:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (24.3ms) Started GET "/forums" for ::1 at 2015-01-10 14:09:03 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"forums"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>"forums"} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4110ms Completed 404 Not Found in 2ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) forums. Summary: When calling MongoidForums::Forum.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): forums ... (1 total) and the following ids were not found: forums. Resolution: Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.): mongoid (4.0.0) lib/mongoid/criteria.rb:475:in `check_for_missing_documents!' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:20:in `execute_or_raise' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:40:in `find' mongoid (4.0.0) lib/mongoid/findable.rb:90:in `find' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:10:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (16.8ms) Started GET "/forums" for ::1 at 2015-01-10 14:09:15 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"forums"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>"forums"} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms Completed 404 Not Found in 1ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) forums. Summary: When calling MongoidForums::Forum.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): forums ... (1 total) and the following ids were not found: forums. Resolution: Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.): mongoid (4.0.0) lib/mongoid/criteria.rb:475:in `check_for_missing_documents!' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:20:in `execute_or_raise' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:40:in `find' mongoid (4.0.0) lib/mongoid/findable.rb:90:in `find' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:10:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (15.4ms) Started GET "/forums" for ::1 at 2015-01-10 14:09:40 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"forums"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>"forums"} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4180ms Completed 404 Not Found in 2ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) forums. Summary: When calling MongoidForums::Forum.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): forums ... (1 total) and the following ids were not found: forums. Resolution: Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.): mongoid (4.0.0) lib/mongoid/criteria.rb:475:in `check_for_missing_documents!' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:20:in `execute_or_raise' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:40:in `find' mongoid (4.0.0) lib/mongoid/findable.rb:90:in `find' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:10:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (20.5ms) Started GET "/forums" for ::1 at 2015-01-10 14:10:33 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (34.0ms) Completed 200 OK in 91ms (Views: 86.1ms) Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:10:33 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:10:33 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:10:33 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:10:33 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:10:33 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:10:33 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:10:33 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:10:33 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 14:10:34 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (7.6ms) Completed 200 OK in 41ms (Views: 37.8ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:10:35 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:10:35 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:10:35 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:10:35 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:10:35 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:10:35 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:10:35 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:10:35 -0500 Started GET "/forums/54b163bf4e656920a7000000/topics/new" for ::1 at 2015-01-10 14:10:37 -0500 Processing by MongoidForums::TopicsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/new.html.erb within layouts/mongoid_forums/application (0.4ms) Completed 200 OK in 29ms (Views: 28.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:10:38 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:10:38 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:10:38 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:10:38 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:10:38 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:10:38 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:10:38 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:10:38 -0500 Started GET "/forums/54b163bf4e656920a7000000/topics/new" for ::1 at 2015-01-10 14:10:59 -0500 ActionController::RoutingError (No route matches [GET] "/forums/54b163bf4e656920a7000000/topics/new"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (35.4ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:11:03 -0500 ActionController::RoutingError (No route matches [GET] "/forums/54b163bf4e656920a7000000/new"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (34.3ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 14:11:04 -0500 ActionController::RoutingError (No route matches [GET] "/forums/54b163bf4e656920a7000000"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (41.6ms) Started GET "/forums/" for ::1 at 2015-01-10 14:11:07 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"forums"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>"forums"} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms Completed 404 Not Found in 13ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) forums. Summary: When calling MongoidForums::Forum.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): forums ... (1 total) and the following ids were not found: forums. Resolution: Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.): mongoid (4.0.0) lib/mongoid/criteria.rb:475:in `check_for_missing_documents!' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:20:in `execute_or_raise' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:40:in `find' mongoid (4.0.0) lib/mongoid/findable.rb:90:in `find' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:10:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (20.6ms) Started GET "/forums/" for ::1 at 2015-01-10 14:12:30 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"forums"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>"forums"} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3620ms Completed 404 Not Found in 17ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) forums. Summary: When calling MongoidForums::Forum.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): forums ... (1 total) and the following ids were not found: forums. Resolution: Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.): mongoid (4.0.0) lib/mongoid/criteria.rb:475:in `check_for_missing_documents!' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:20:in `execute_or_raise' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:40:in `find' mongoid (4.0.0) lib/mongoid/findable.rb:90:in `find' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:10:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (20.1ms) Started GET "/forums/topics" for ::1 at 2015-01-10 14:12:32 -0500 ActionController::RoutingError (No route matches [GET] "/forums/topics"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (41.3ms) Started GET "/topics" for ::1 at 2015-01-10 14:12:50 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"topics"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>"topics"} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms Completed 404 Not Found in 1ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) topics. Summary: When calling MongoidForums::Forum.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): topics ... (1 total) and the following ids were not found: topics. Resolution: Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.): mongoid (4.0.0) lib/mongoid/criteria.rb:475:in `check_for_missing_documents!' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:20:in `execute_or_raise' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:40:in `find' mongoid (4.0.0) lib/mongoid/findable.rb:90:in `find' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:10:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (15.2ms) Started GET "/categories" for ::1 at 2015-01-10 14:12:56 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"categories"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>"categories"} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3820ms Completed 404 Not Found in 1ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) categories. Summary: When calling MongoidForums::Forum.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): categories ... (1 total) and the following ids were not found: categories. Resolution: Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.): mongoid (4.0.0) lib/mongoid/criteria.rb:475:in `check_for_missing_documents!' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:20:in `execute_or_raise' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:40:in `find' mongoid (4.0.0) lib/mongoid/findable.rb:90:in `find' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:10:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (15.6ms) Started GET "/categories" for ::1 at 2015-01-10 14:13:03 -0500 ActionController::RoutingError (uninitialized constant MongoidForums::CategoriesController): activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (56.8ms) Started GET "/" for ::1 at 2015-01-10 14:13:08 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms Rendered partials/_nav.haml (2.7ms) Completed 200 OK in 61ms (Views: 60.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 14:13:08 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:13:08 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 14:13:08 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:13:08 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 14:13:08 -0500 Started GET "/forums" for ::1 at 2015-01-10 14:13:10 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (27.7ms) Completed 200 OK in 61ms (Views: 54.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:13:10 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:13:10 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:13:10 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:13:10 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:13:10 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:13:10 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:13:10 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:13:10 -0500 Started GET "/forums" for ::1 at 2015-01-10 14:13:26 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (28.1ms) Completed 200 OK in 55ms (Views: 49.4ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:13:26 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:13:26 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:13:26 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:13:26 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:13:27 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:13:27 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:13:27 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:13:27 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 14:13:34 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (4.5ms) Completed 200 OK in 31ms (Views: 27.7ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:13:34 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:13:34 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:13:34 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:13:34 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:13:34 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:13:34 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:13:34 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:13:34 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 14:13:35 -0500 ActionController::RoutingError (No route matches [GET] "/forums/topics/54b1663b4e65692160000000"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (39.4ms) Started GET "/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 14:13:51 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3190ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (10.5ms) Completed 200 OK in 36ms (Views: 32.0ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:13:51 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:13:51 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:13:51 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:13:51 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:13:51 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:13:51 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:13:51 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:13:51 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 14:14:12 -0500 ActionController::RoutingError (No route matches [GET] "/forums/topics/54b1663b4e65692160000000"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (34.1ms) Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 14:14:22 -0500 ActionController::RoutingError (No route matches [GET] "/forums/topics/54b1663b4e65692160000000"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (42.9ms) Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 14:14:33 -0500 ActionController::RoutingError (No route matches [GET] "/forums/topics/54b1663b4e65692160000000"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (31.1ms) Started GET "/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 14:16:10 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3360ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.0ms) Completed 200 OK in 62ms (Views: 39.3ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:16:10 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:16:10 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:16:10 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:16:10 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:16:10 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:16:10 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:16:10 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:16:10 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 14:16:17 -0500 ActionController::RoutingError (No route matches [GET] "/forums/topics/54b1663b4e65692160000000"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (41.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (8.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (91.6ms) Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 14:16:17 -0500 ActionController::RoutingError (No route matches [GET] "/forums/topics/54b1663b4e65692160000000"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (32.5ms) Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 14:16:27 -0500 ActionController::RoutingError (No route matches [GET] "/forums/topics/54b1663b4e65692160000000"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (32.2ms) Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 14:17:09 -0500 ActionController::RoutingError (No route matches [GET] "/forums/topics/54b1663b4e65692160000000"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (41.8ms) Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 14:17:10 -0500 ActionController::RoutingError (No route matches [GET] "/forums/topics/54b1663b4e65692160000000"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (35.1ms) Started GET "/forums/" for ::1 at 2015-01-10 14:17:12 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"forums"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>"forums"} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4420ms Completed 404 Not Found in 31ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) forums. Summary: When calling MongoidForums::Forum.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): forums ... (1 total) and the following ids were not found: forums. Resolution: Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.): mongoid (4.0.0) lib/mongoid/criteria.rb:475:in `check_for_missing_documents!' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:20:in `execute_or_raise' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:40:in `find' mongoid (4.0.0) lib/mongoid/findable.rb:90:in `find' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:10:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (24.0ms) Started GET "/forums/" for ::1 at 2015-01-10 14:17:53 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5350ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (20.3ms) Completed 500 Internal Server Error in 33ms ActionView::Template::Error (undefined method `forum_path' for #<#:0x007fcf18b1f118>): 14: - category.forums.each do |forum| 15: %tr 16: %td 17: = link_to forum.name, forum 18: %td 19: - last_post = forum.topics.last.posts.last 20: = time_ago_in_words ( last_post.created_at ) actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:268:in `handle_model_call' actionview (4.2.0) lib/action_view/routing_url_for.rb:113:in `url_for' actionview (4.2.0) lib/action_view/helpers/url_helper.rb:181:in `link_to' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:17:in `block (2 levels) in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__2953008072565662924_70263724618120' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:165:in `block in each' mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:184:in `block in each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:181:in `each' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:165:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:14:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__2953008072565662924_70263724618120' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__2953008072565662924_70263724618120' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.5ms) Started GET "/forums/" for ::1 at 2015-01-10 14:18:14 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (29.4ms) Completed 200 OK in 99ms (Views: 93.7ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:18:14 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:18:14 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:18:14 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:18:14 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:18:14 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:18:14 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:18:14 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:18:14 -0500 Started GET "/forums/" for ::1 at 2015-01-10 14:18:18 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5140ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (16.7ms) Completed 500 Internal Server Error in 28ms ActionView::Template::Error (undefined method `forum_path' for #<#:0x007fcf1ab77910>): 14: - category.forums.each do |forum| 15: %tr 16: %td 17: = link_to forum.name, forum 18: %td 19: - last_post = forum.topics.last.posts.last 20: = time_ago_in_words ( last_post.created_at ) actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:268:in `handle_model_call' actionview (4.2.0) lib/action_view/routing_url_for.rb:113:in `url_for' actionview (4.2.0) lib/action_view/helpers/url_helper.rb:181:in `link_to' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:17:in `block (2 levels) in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__2953008072565662924_70263724618120' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:165:in `block in each' mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:184:in `block in each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:181:in `each' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:165:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:14:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__2953008072565662924_70263724618120' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__2953008072565662924_70263724618120' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.1ms) Started GET "/forums/" for ::1 at 2015-01-10 14:18:22 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (25.9ms) Completed 200 OK in 56ms (Views: 52.0ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:18:23 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:18:23 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:18:23 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:18:23 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:18:23 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:18:23 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:18:23 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:18:23 -0500 Started GET "/forums/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 14:18:24 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (14.6ms) Completed 500 Internal Server Error in 20ms ActionView::Template::Error (undefined method `new_forum_topic_path' for #<#:0x007fcf1dbc9f00>): 1: %h1 Viewing Forum "#{@forum.name}" 2: = link_to "Add a topic", new_forum_topic_path(@forum) 3: %br 4: %br 5: %h2 Topics: /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2425906146469721903_70263766925320' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.2ms) Started GET "/forums/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 14:18:28 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (11.2ms) Completed 200 OK in 51ms (Views: 34.1ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:18:28 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:18:28 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:18:28 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:18:28 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:18:28 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:18:28 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:18:28 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:18:28 -0500 Started GET "/forums/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 14:18:31 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5090ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (8.8ms) Completed 500 Internal Server Error in 30ms ActionView::Template::Error (undefined method `new_forum_topic_path' for #<#:0x007fcf1acc7ab8>): 1: %h1 Viewing Forum "#{@forum.name}" 2: = link_to "Add a topic", new_forum_topic_path(@forum) 3: %br 4: %br 5: %h2 Topics: /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2425906146469721903_70263766925320' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.2ms) Started GET "/forums/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 14:18:34 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7840ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (9.3ms) Completed 500 Internal Server Error in 38ms ActionView::Template::Error (undefined method `new_forum_topic_path' for #<#:0x007fcf1f91b928>): 1: %h1 Viewing Forum "#{@forum.name}" 2: = link_to "Add a topic", new_forum_topic_path(@forum) 3: %br 4: %br 5: %h2 Topics: /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2425906146469721903_70263766925320' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (17.5ms) Started GET "/forums/" for ::1 at 2015-01-10 14:18:35 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9630ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (25.6ms) Completed 200 OK in 104ms (Views: 103.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:18:35 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:18:35 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:18:35 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:18:35 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:18:35 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:18:35 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:18:35 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:18:35 -0500 Started GET "/forums/" for ::1 at 2015-01-10 14:18:41 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3140ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (7.7ms) Completed 200 OK in 27ms (Views: 26.6ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:18:41 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:18:41 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:18:41 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:18:41 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:18:41 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:18:41 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:18:41 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:18:41 -0500 Started GET "/forums/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 14:18:43 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4880ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (13.3ms) Completed 500 Internal Server Error in 21ms ActionView::Template::Error (undefined method `new_forum_topic_path' for #<#:0x007fcf1d262188>): 1: %h1 Viewing Forum "#{@forum.name}" 2: = link_to "Add a topic", new_forum_topic_path(@forum) 3: %br 4: %br 5: %h2 Topics: /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2425906146469721903_70263762016080' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (16.9ms) Started GET "/forums/" for ::1 at 2015-01-10 14:18:52 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (12.9ms) Completed 200 OK in 32ms (Views: 31.7ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:18:52 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:18:52 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:18:52 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:18:52 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:18:52 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:18:52 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:18:52 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:18:52 -0500 Started GET "/forums/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 14:18:53 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (13.7ms) Completed 500 Internal Server Error in 18ms ActionView::Template::Error (undefined method `new_forum_topic_path' for #<#:0x007fcf18d9c990>): 1: %h1 Viewing Forum "#{@forum.name}" 2: = link_to "Add a topic", new_forum_topic_path(@forum) 3: %br 4: %br 5: %h2 Topics: /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2425906146469721903_70263764349140' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (17.2ms) Started GET "/forums/" for ::1 at 2015-01-10 14:19:06 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6240ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (10.0ms) Completed 200 OK in 31ms (Views: 30.5ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:19:06 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:19:06 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:19:06 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:19:06 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:19:06 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:19:06 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:19:06 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:19:06 -0500 Started GET "/forums/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 14:19:07 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4990ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (12.7ms) Completed 500 Internal Server Error in 17ms ActionView::Template::Error (undefined method `new_forum_topic_path' for #<#:0x007fcf1f9a9340>): 1: %h1 Viewing Forum "#{@forum.name}" 2: = link_to "Add a topic", new_forum_topic_path(@forum) 3: %br 4: %br 5: %h2 Topics: /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2425906146469721903_70263743034300' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (17.5ms) Started GET "/forums/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 14:19:20 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4450ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (89.5ms) Completed 500 Internal Server Error in 95ms ActionView::Template::Error (undefined method `new_forum_topic_path' for #<#:0x007fcf18f54800>): 1: %h1 Viewing Forum "#{@forum.name}" 2: = link_to "Add a topic", new_forum_topic_path(@forum) 3: %br 4: %br 5: %h2 Topics: /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2425906146469721903_70263743034300' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.7ms) Started GET "/forums/" for ::1 at 2015-01-10 14:19:21 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (12.3ms) Completed 200 OK in 45ms (Views: 45.3ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:19:22 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:19:22 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:19:22 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:19:22 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:19:22 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:19:22 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:19:22 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:19:22 -0500 Started GET "/forums/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 14:19:24 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3910ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (10.2ms) Completed 500 Internal Server Error in 15ms ActionView::Template::Error (undefined method `new_forum_topic_path' for #<#:0x007fcf1dac18d8>): 1: %h1 Viewing Forum "#{@forum.name}" 2: = link_to "Add a topic", new_forum_topic_path(@forum) 3: %br 4: %br 5: %h2 Topics: /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2425906146469721903_70263743034300' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (16.1ms) Started GET "/forums/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 14:19:27 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6540ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (9.2ms) Completed 500 Internal Server Error in 17ms ActionView::Template::Error (undefined method `new_forum_topic_path' for #<#:0x007fcf18f669d8>): 1: %h1 Viewing Forum "#{@forum.name}" 2: = link_to "Add a topic", new_forum_topic_path(@forum) 3: %br 4: %br 5: %h2 Topics: /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2425906146469721903_70263743034300' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (26.5ms) Started GET "/forums/" for ::1 at 2015-01-10 14:19:46 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6910ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (10.2ms) Completed 200 OK in 34ms (Views: 34.1ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:19:46 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:19:46 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:19:46 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:19:46 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:19:46 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:19:46 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:19:46 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:19:46 -0500 Started GET "/forums/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 14:19:48 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.6780ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (10.3ms) Completed 500 Internal Server Error in 18ms ActionView::Template::Error (undefined method `new_forum_topic_path' for #<#:0x007fcf19409b20>): 1: %h1 Viewing Forum "#{@forum.name}" 2: = link_to "Add a topic", new_forum_topic_path(@forum) 3: %br 4: %br 5: %h2 Topics: /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2425906146469721903_70263743034300' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (17.7ms) Started GET "/forums/" for ::1 at 2015-01-10 14:23:04 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (30.2ms) Completed 200 OK in 65ms (Views: 64.7ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:23:04 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:23:05 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:23:05 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:23:05 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:23:05 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:23:05 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:23:05 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:23:05 -0500 Started GET "/forums/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 14:23:06 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3900ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (10.8ms) Completed 500 Internal Server Error in 17ms ActionView::Template::Error (undefined method `new_forum_topic_path' for #<#:0x007fcf1d63f378>): 1: %h1 Viewing Forum "#{@forum.name}" 2: = link_to "Add a topic", new_forum_topic_path(@forum) 3: %br 4: %br 5: %h2 Topics: /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2425906146469721903_70263743034300' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.1ms) Started GET "/categories/" for ::1 at 2015-01-10 14:24:10 -0500 ActionController::RoutingError (No route matches [GET] "/categories"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (33.4ms) Started GET "/forums/categories/" for ::1 at 2015-01-10 14:24:14 -0500 ActionController::RoutingError (uninitialized constant MongoidForums::CategoriesController): activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (45.6ms) Started GET "/forums/" for ::1 at 2015-01-10 14:24:46 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (51.0ms) Completed 200 OK in 86ms (Views: 79.6ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:24:46 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:24:46 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:24:46 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:24:46 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:24:46 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:24:46 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:24:46 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:24:46 -0500 Started GET "/forums/" for ::1 at 2015-01-10 14:25:08 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (30.0ms) Completed 200 OK in 63ms (Views: 58.4ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:25:08 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:25:08 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:25:08 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:25:08 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:25:08 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:25:08 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:25:08 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:25:08 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 14:25:09 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5950ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (9.4ms) Completed 500 Internal Server Error in 16ms ActionView::Template::Error (undefined method `new_forum_topic_path' for #<#:0x007fcf18e26438>): 1: %h1 Viewing Forum "#{@forum.name}" 2: = link_to "Add a topic", new_forum_topic_path(@forum) 3: %br 4: %br 5: %h2 Topics: /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2425906146469721903_70263743034300' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.8ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 14:25:27 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6600ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (18.6ms) Completed 200 OK in 93ms (Views: 49.0ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:25:27 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:25:27 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:25:27 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:25:27 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:25:27 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:25:27 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:25:27 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:25:27 -0500 Started GET "/forums/topics/new.54b163bf4e656920a7000000" for ::1 at 2015-01-10 14:25:28 -0500 Processing by MongoidForums::TopicsController#new as Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/new.html.erb within layouts/mongoid_forums/application (0.7ms) Completed 200 OK in 31ms (Views: 30.6ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:25:28 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:25:28 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:25:28 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:25:28 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:25:28 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:25:28 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:25:28 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:25:28 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 14:25:36 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.1ms) Completed 200 OK in 35ms (Views: 32.4ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:25:36 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:25:36 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:25:36 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:25:36 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:25:36 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:25:36 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:25:36 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:25:36 -0500 Started GET "/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 14:25:37 -0500 ActionController::RoutingError (No route matches [GET] "/topics/54b1663b4e65692160000000"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (47.2ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 14:25:53 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7470ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (11.0ms) Completed 200 OK in 37ms (Views: 34.1ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:25:53 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:25:53 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:25:53 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:25:53 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:25:53 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:25:53 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:25:53 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:25:53 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 14:25:54 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (13.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (16.0ms) Completed 200 OK in 39ms (Views: 36.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:25:54 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:25:54 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:25:54 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:25:54 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:25:54 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:25:54 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:25:54 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:25:54 -0500 Started GET "/forums/topics/new.54b163bf4e656920a7000000" for ::1 at 2015-01-10 14:25:59 -0500 Processing by MongoidForums::TopicsController#new as Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/new.html.erb within layouts/mongoid_forums/application (0.0ms) Completed 200 OK in 29ms (Views: 28.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:25:59 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:25:59 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:25:59 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:25:59 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:25:59 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:25:59 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:25:59 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:25:59 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 14:26:56 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5960ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (14.3ms) Completed 200 OK in 75ms (Views: 36.4ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:26:56 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:26:56 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:26:56 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:26:56 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:26:56 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:26:56 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:26:56 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:26:56 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 14:27:18 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (10.2ms) Completed 200 OK in 39ms (Views: 35.3ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:27:18 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:27:18 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:27:18 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:27:18 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:27:18 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:27:18 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:27:18 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:27:18 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:27:19 -0500 AbstractController::ActionNotFound (The action 'new' could not be found for MongoidForums::ForumsController): actionpack (4.2.0) lib/abstract_controller/base.rb:132:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb within rescues/layout (0.6ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:27:56 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} Completed 500 Internal Server Error in 10ms ActionView::MissingTemplate (Missing template mongoid_forums/forums/new, mongoid_forums/application/new with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Business/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Business/mongoid_forums/app/views" * "/Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views" ): actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (23.4ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:28:06 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (1.0ms) Completed 200 OK in 27ms (Views: 26.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:28:07 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:28:07 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:28:07 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:28:07 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:28:07 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:28:07 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:28:07 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:28:07 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:28:17 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (0.7ms) Completed 200 OK in 24ms (Views: 23.9ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:28:17 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:28:17 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:28:17 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:28:17 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:28:17 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:28:17 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:28:17 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:28:17 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:28:23 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (0.1ms) Completed 200 OK in 34ms (Views: 33.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:28:23 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:28:23 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:28:23 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:28:23 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:28:23 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:28:23 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:28:23 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:28:23 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:28:52 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (1.0ms) Completed 500 Internal Server Error in 5ms ActionView::Template::Error (Illegal nesting: content can't be both given on the same line as %h3 and nested within it.): 1: %h3 New Topic in 2: = @topic.forum.category.name /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:2 haml (4.0.6) lib/haml/parser.rb:393:in `tag' haml (4.0.6) lib/haml/parser.rb:213:in `process_line' haml (4.0.6) lib/haml/parser.rb:121:in `parse' haml (4.0.6) lib/haml/engine.rb:66:in `initialize' haml (4.0.6) lib/haml/template/plugin.rb:25:in `new' haml (4.0.6) lib/haml/template/plugin.rb:25:in `compile' haml (4.0.6) lib/haml/template/plugin.rb:30:in `call' actionview (4.2.0) lib/action_view/template.rb:270:in `compile' actionview (4.2.0) lib/action_view/template.rb:245:in `block (2 levels) in compile!' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:244:in `block in compile!' actionview (4.2.0) lib/action_view/template.rb:232:in `synchronize' actionview (4.2.0) lib/action_view/template.rb:232:in `compile!' actionview (4.2.0) lib/action_view/template.rb:144:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (22.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (40.8ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:28:54 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (2.9ms) Completed 500 Internal Server Error in 5ms ActionView::Template::Error (undefined method `forum' for nil:NilClass): 1: %h3 2: New Topic in 3: = @topic.forum.category.name /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__2744932732224274042_70263764069200' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (15.7ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:28:55 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (0.8ms) Completed 500 Internal Server Error in 3ms ActionView::Template::Error (undefined method `forum' for nil:NilClass): 1: %h3 2: New Topic in 3: = @topic.forum.category.name /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__2744932732224274042_70263764069200' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (21.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (41.0ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:29:19 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3770ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (0.9ms) Completed 500 Internal Server Error in 19ms ActionView::Template::Error (undefined method `forum' for nil:NilClass): 1: %h3 2: New Topic in 3: = @topic.forum.category.name /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__2744932732224274042_70263764069200' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (17.7ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 14:29:20 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (12.9ms) Completed 200 OK in 50ms (Views: 38.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:29:20 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:29:20 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:29:20 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:29:20 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:29:20 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:29:20 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:29:20 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:29:20 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:29:22 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (0.8ms) Completed 500 Internal Server Error in 6ms ActionView::Template::Error (undefined method `forum' for nil:NilClass): 1: %h3 2: New Topic in 3: = @topic.forum.category.name /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__2744932732224274042_70263764069200' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.5ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:29:37 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (2.7ms) Completed 200 OK in 44ms (Views: 28.4ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:29:37 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:29:37 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:29:37 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:29:37 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:29:37 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:29:37 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:29:37 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:29:37 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 14:29:41 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (12.6ms) Completed 200 OK in 46ms (Views: 36.4ms) Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:29:41 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:29:41 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:29:41 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:29:41 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:29:41 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:29:41 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:29:41 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:29:41 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:29:49 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9520ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (3.6ms) Completed 200 OK in 30ms (Views: 27.7ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:29:50 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:29:50 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:29:50 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:29:50 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:29:50 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:29:50 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:29:50 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:29:50 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:29:57 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (1.3ms) Completed 200 OK in 55ms (Views: 53.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:29:57 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:29:57 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:29:57 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:29:57 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:29:57 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:29:57 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:29:57 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:29:57 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:30:02 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (2.2ms) Completed 200 OK in 23ms (Views: 21.0ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:30:02 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:30:02 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:30:02 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:30:02 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:30:02 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:30:02 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:30:02 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:30:02 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:30:08 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (2.2ms) Completed 200 OK in 30ms (Views: 28.2ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:30:08 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:30:08 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:30:08 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:30:08 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:30:08 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:30:08 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:30:08 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:30:08 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:30:27 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (16.1ms) Completed 500 Internal Server Error in 19ms ActionView::Template::Error (undefined local variable or method `forum_create_path' for #<#:0x007fcf1aff0de8>): 3: = @forum.category.name 4: Category 5: 6: = simple_form_for @topic, :url => forum_create_path do |f| 7: = f.input :subject 8: 9: = f.simple_fields_for :posts do |post| /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:6:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__2744932732224274042_70263743935640' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (17.0ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:30:47 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (15.0ms) Completed 500 Internal Server Error in 36ms ActionView::Template::Error (undefined method `simple_form_for' for #<#:0x007fcf1d71ccf0>): 3: = @forum.category.name 4: Category 5: 6: = simple_form_for @topic, :url => forum_create_path do |f| 7: = f.input :subject 8: 9: = f.simple_fields_for :posts do |post| /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:6:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__2744932732224274042_70263743935640' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (16.9ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:31:27 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6540ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (7.1ms) Completed 500 Internal Server Error in 13ms ActionView::Template::Error (First argument in form cannot contain nil or be empty): 3: = @forum.category.name 4: Category 5: 6: = form_for @topic, :url => forum_create_path do |f| 7: = f.input :subject 8: 9: = f.simple_fields_for :posts do |post| actionview (4.2.0) lib/action_view/helpers/form_helper.rb:432:in `form_for' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:6:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__2744932732224274042_70263762519160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.6ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:32:10 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (20.3ms) Completed 500 Internal Server Error in 46ms ActionView::Template::Error (undefined method `simple_form_for' for #<#:0x007fc72d6ee938>): 3: = @forum.category.name 4: Category 5: 6: = simple_form_for @topic, :url => forum_create_path do |f| 7: = f.input :subject 8: 9: = f.simple_fields_for :posts do |post| /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:6:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__3061757500469529602_70246718597140' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (8.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (24.2ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:32:13 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (11.2ms) Completed 500 Internal Server Error in 15ms ActionView::Template::Error (undefined method `simple_form_for' for #<#:0x007fc72c9eb790>): 3: = @forum.category.name 4: Category 5: 6: = simple_form_for @topic, :url => forum_create_path do |f| 7: = f.input :subject 8: 9: = f.simple_fields_for :posts do |post| /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:6:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__3061757500469529602_70246718597140' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.8ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:34:26 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (13.1ms) Completed 500 Internal Server Error in 37ms ActionView::Template::Error (undefined method `simple_form_for' for #<#:0x007f91024a7280>): 3: = @forum.category.name 4: Category 5: 6: = simple_form_for @topic, :url => forum_create_path do |f| 7: = f.input :subject 8: 9: = f.simple_fields_for :posts do |post| /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:6:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__3074008362486326994_70130403916240' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (8.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (31.1ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:34:44 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7210ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (6.1ms) Completed 500 Internal Server Error in 11ms ActionView::Template::Error (First argument in form cannot contain nil or be empty): 3: = @forum.category.name 4: Category 5: 6: = form_for @topic, :url => forum_create_path do |f| 7: = f.input :subject 8: 9: = f.simple_fields_for :posts do |post| actionview (4.2.0) lib/action_view/helpers/form_helper.rb:432:in `form_for' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:6:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__3074008362486326994_70130432709340' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (17.8ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:35:12 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (14.7ms) Completed 500 Internal Server Error in 43ms ActionView::Template::Error (undefined method `input' for #): 4: Category 5: 6: = form_for @topic, :url => forum_create_path do |f| 7: = f.input :subject 8: 9: = f.simple_fields_for :posts do |post| 10: = render :partial => "forem/posts/form", :locals => { :f => post } /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:7:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__3074008362486326994_70130433069960' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `call' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml' haml (4.0.6) lib/haml/helpers.rb:278:in `with_tabs' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:6:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__3074008362486326994_70130433069960' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (43.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (58.4ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:35:20 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (11.0ms) Completed 500 Internal Server Error in 15ms ActionView::Template::Error (undefined method `input_field' for #): 4: Category 5: 6: = form_for @topic, :url => forum_create_path do |f| 7: = f.input_field :subject 8: 9: = f.simple_fields_for :posts do |post| 10: = render :partial => "forem/posts/form", :locals => { :f => post } /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:7:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__3074008362486326994_70130396164040' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `call' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml' haml (4.0.6) lib/haml/helpers.rb:278:in `with_tabs' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:6:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__3074008362486326994_70130396164040' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (26.0ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:35:25 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (14.1ms) Completed 500 Internal Server Error in 22ms ActionView::Template::Error (undefined method `input_tag' for #): 4: Category 5: 6: = form_for @topic, :url => forum_create_path do |f| 7: = f.input_tag :subject 8: 9: = f.simple_fields_for :posts do |post| 10: = render :partial => "forem/posts/form", :locals => { :f => post } /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:7:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__3074008362486326994_70130394852160' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `call' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml' haml (4.0.6) lib/haml/helpers.rb:278:in `with_tabs' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:6:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__3074008362486326994_70130394852160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (26.5ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:36:12 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (5.9ms) Completed 500 Internal Server Error in 12ms ActionView::Template::Error (undefined method `subject' for #): 4: Category 5: 6: = form_for @topic, :url => forum_create_path do |f| 7: = f.text_field :subject 8: 9: = f.simple_fields_for :posts do |post| 10: = render :partial => "forem/posts/form", :locals => { :f => post } actionview (4.2.0) lib/action_view/helpers/tags/base.rb:28:in `public_send' actionview (4.2.0) lib/action_view/helpers/tags/base.rb:28:in `value' actionview (4.2.0) lib/action_view/helpers/tags/base.rb:37:in `value_before_type_cast' actionview (4.2.0) lib/action_view/helpers/tags/text_field.rb:13:in `block in render' actionview (4.2.0) lib/action_view/helpers/tags/text_field.rb:13:in `fetch' actionview (4.2.0) lib/action_view/helpers/tags/text_field.rb:13:in `render' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:787:in `text_field' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1322:in `text_field' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:7:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__3074008362486326994_70130405944660' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `call' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml' haml (4.0.6) lib/haml/helpers.rb:278:in `with_tabs' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:6:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__3074008362486326994_70130405944660' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (6.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (31.5ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:36:23 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (13.7ms) Completed 500 Internal Server Error in 18ms ActionView::Template::Error (undefined method `simple_fields_for' for #): 6: = form_for @topic, :url => forum_create_path do |f| 7: = f.text_field :name 8: 9: = f.simple_fields_for :posts do |post| 10: = render :partial => "forem/posts/form", :locals => { :f => post } 11: 12: = f.submit "Create Topic", :class => "btn", :disable_with => "Creating..." /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:9:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__3074008362486326994_70130419817040' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `call' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml' haml (4.0.6) lib/haml/helpers.rb:278:in `with_tabs' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:6:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__3074008362486326994_70130419817040' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.4ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 14:36:29 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (3.6ms) Completed 200 OK in 57ms (Views: 54.1ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:36:29 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:36:29 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:36:30 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:36:30 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:36:30 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:36:30 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:36:30 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:36:30 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 14:36:59 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (16.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (19.9ms) Completed 200 OK in 58ms (Views: 41.1ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:36:59 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:36:59 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:36:59 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:36:59 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:36:59 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:36:59 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:36:59 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:36:59 -0500 Started GET "/forums/topics/54b1663b4e65692160000000/posts/new" for ::1 at 2015-01-10 14:37:55 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1663b4e65692160000000"} Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.html.erb within layouts/mongoid_forums/application (0.7ms) Completed 200 OK in 37ms (Views: 36.3ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:37:55 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:37:55 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:37:55 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:37:55 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:37:55 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:37:55 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:37:55 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:37:55 -0500 Started GET "/forums/topics/54b1663b4e65692160000000/posts/new" for ::1 at 2015-01-10 14:38:26 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1663b4e65692160000000"} Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (2.4ms) Completed 500 Internal Server Error in 7ms ActionView::Template::Error (No route matches {:action=>"create", :controller=>"mongoid_forums/forums", :topic_id=>"54b1663b4e65692160000000"} missing required keys: [:forum_id]): 1: %h1 New Post 2: = form_for @topic, :url => forum_create_path do |f| 3: = f.text_field :name actionpack (4.2.0) lib/action_dispatch/journey/formatter.rb:46:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:710:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:741:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:784:in `url_for' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:279:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:222:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:334:in `block (2 levels) in define_url_helper' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts_new_haml__3661789034141225642_70130421229020' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (24.6ms) Started GET "/forums/topics/54b1663b4e65692160000000/posts/new" for ::1 at 2015-01-10 14:39:54 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1663b4e65692160000000"} Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (0.8ms) Completed 500 Internal Server Error in 4ms ActionView::Template::Error (The line was indented 2 levels deeper than the previous line.): 3: = f.text_field :name 4: 5: - if params[:reply_to_id] 6: = f.hidden_field :reply_to_id, :value => params[:reply_to_id] /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml:6 haml (4.0.6) lib/haml/parser.rb:128:in `parse' haml (4.0.6) lib/haml/engine.rb:66:in `initialize' haml (4.0.6) lib/haml/template/plugin.rb:25:in `new' haml (4.0.6) lib/haml/template/plugin.rb:25:in `compile' haml (4.0.6) lib/haml/template/plugin.rb:30:in `call' actionview (4.2.0) lib/action_view/template.rb:270:in `compile' actionview (4.2.0) lib/action_view/template.rb:245:in `block (2 levels) in compile!' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:244:in `block in compile!' actionview (4.2.0) lib/action_view/template.rb:232:in `synchronize' actionview (4.2.0) lib/action_view/template.rb:232:in `compile!' actionview (4.2.0) lib/action_view/template.rb:144:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.6ms) Started GET "/forums/topics/54b1663b4e65692160000000/posts/new" for ::1 at 2015-01-10 14:39:59 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1663b4e65692160000000"} Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (1.1ms) Completed 500 Internal Server Error in 4ms SyntaxError (/Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml:2: syntax error, unexpected ',', expecting ')' haml_temp = form_for (@topic, @post) do |f| ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml:8: syntax error, unexpected keyword_ensure, expecting end-of-input): /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml:2: syntax error, unexpected ',', expecting ')' haml_temp = form_for (@topic, @post) do |f| ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml:8: syntax error, unexpected keyword_ensure, expecting end-of-input actionview (4.2.0) lib/action_view/template.rb:296:in `module_eval' actionview (4.2.0) lib/action_view/template.rb:296:in `compile' actionview (4.2.0) lib/action_view/template.rb:245:in `block (2 levels) in compile!' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:244:in `block in compile!' actionview (4.2.0) lib/action_view/template.rb:232:in `synchronize' actionview (4.2.0) lib/action_view/template.rb:232:in `compile!' actionview (4.2.0) lib/action_view/template.rb:144:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (21.0ms) Started GET "/forums/topics/54b1663b4e65692160000000/posts/new" for ::1 at 2015-01-10 14:40:11 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1663b4e65692160000000"} Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (1.7ms) Completed 500 Internal Server Error in 4ms ActionView::Template::Error (First argument in form cannot contain nil or be empty): 1: %h1 New Post 2: = form_for ([@topic, @post]) do |f| 3: = f.text_field :name 4: 5: - if params[:reply_to_id] actionview (4.2.0) lib/action_view/helpers/form_helper.rb:432:in `form_for' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts_new_haml__3661789034141225642_70130421837940' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (16.7ms) Started GET "/forums/topics/54b1663b4e65692160000000/posts/new" for ::1 at 2015-01-10 14:40:53 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4080ms Completed 500 Internal Server Error in 25ms NameError (undefined local variable or method `topic' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:8:in `new' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (19.1ms) Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 14:40:56 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4760ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.8ms) Completed 200 OK in 37ms (Views: 34.6ms) Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:40:56 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:40:56 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:40:56 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:40:56 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:40:56 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:40:56 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:40:56 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:40:56 -0500 Started GET "/forums/topics/54b1663b4e65692160000000/posts/new" for ::1 at 2015-01-10 14:41:00 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4070ms Completed 500 Internal Server Error in 4ms NameError (undefined local variable or method `topic' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:8:in `new' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (18.9ms) Started GET "/forums/topics/54b1663b4e65692160000000/posts/new" for ::1 at 2015-01-10 14:41:05 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (2.2ms) Completed 500 Internal Server Error in 73ms ActionView::Template::Error (undefined method `name' for #): 1: %h1 New Post 2: = form_for ([@topic, @post]) do |f| 3: = f.text_field :name 4: 5: - if params[:reply_to_id] 6: = f.hidden_field :reply_to_id, :value => params[:reply_to_id] actionview (4.2.0) lib/action_view/helpers/tags/base.rb:28:in `public_send' actionview (4.2.0) lib/action_view/helpers/tags/base.rb:28:in `value' actionview (4.2.0) lib/action_view/helpers/tags/base.rb:37:in `value_before_type_cast' actionview (4.2.0) lib/action_view/helpers/tags/text_field.rb:13:in `block in render' actionview (4.2.0) lib/action_view/helpers/tags/text_field.rb:13:in `fetch' actionview (4.2.0) lib/action_view/helpers/tags/text_field.rb:13:in `render' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:787:in `text_field' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1322:in `text_field' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml:3:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts_new_haml__3661789034141225642_70130421837940' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `call' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml' haml (4.0.6) lib/haml/helpers.rb:278:in `with_tabs' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts_new_haml__3661789034141225642_70130421837940' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.6ms) Started GET "/forums/topics/54b1663b4e65692160000000/posts/new" for ::1 at 2015-01-10 14:41:26 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6720ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (2.2ms) Completed 200 OK in 34ms (Views: 30.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:41:26 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:41:26 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:41:26 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:41:26 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:41:27 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:41:27 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:41:27 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:41:27 -0500 Started GET "/forums/topics/54b1663b4e65692160000000/posts/new" for ::1 at 2015-01-10 14:41:35 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3170ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (2.3ms) Completed 200 OK in 25ms (Views: 21.9ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:41:35 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:41:35 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:41:35 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:41:35 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:41:35 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:41:35 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:41:35 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:41:35 -0500 Started POST "/forums/topics/54b1663b4e65692160000000/posts" for ::1 at 2015-01-10 14:41:37 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"U9G60IFqzoaDVFWPxKuJwCspRZQpM8EiZAGjNxWyd/pqojVJTFCANekpoEKrlZ+7eO/IZV0GoTtVdtBkm4GSGw==", "post"=>{"text"=>"dsfsdf"}, "commit"=>"Create Topic", "topic_id"=>"54b1663b4e65692160000000"} Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/create.html.erb within layouts/mongoid_forums/application (0.8ms) Completed 200 OK in 23ms (Views: 22.4ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:41:37 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:41:37 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:41:37 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:41:37 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:41:37 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:41:37 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:41:37 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:41:37 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 14:41:40 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3150ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (11.4ms) Completed 200 OK in 41ms (Views: 35.2ms) Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:41:40 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:41:40 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:41:40 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:41:40 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:41:40 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:41:40 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:41:40 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:41:40 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 14:41:41 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 12.6220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3030ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (18.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (20.0ms) Completed 200 OK in 50ms (Views: 46.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:41:41 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:41:41 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:41:41 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:41:41 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 14:41:41 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 14:41:41 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 14:41:41 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 14:41:41 -0500 Started GET "/forums/topics/54b1663b4e65692160000000" for ::1 at 2015-01-10 15:10:12 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1663b4e65692160000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b16b734e65692352010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.7ms) Completed 200 OK in 53ms (Views: 48.0ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 15:10:12 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 15:10:12 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 15:10:12 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 15:10:12 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 15:10:12 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 15:10:12 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 15:10:12 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 15:10:12 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 15:10:13 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (14.2ms) Completed 200 OK in 63ms (Views: 45.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 15:10:13 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 15:10:13 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 15:10:13 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 15:10:13 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 15:10:13 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 15:10:13 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 15:10:13 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 15:10:13 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:22:45 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.7120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7730ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (6.0ms) Completed 200 OK in 32ms (Views: 26.3ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:22:45 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:22:45 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:22:45 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:22:45 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:22:45 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:22:45 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:22:45 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:22:45 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:22:47 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9710ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (4.1ms) Completed 200 OK in 29ms (Views: 26.4ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:22:47 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:22:47 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:22:47 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:22:47 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:22:47 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:22:47 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:22:47 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:22:47 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 16:22:49 -0500 AbstractController::ActionNotFound (The action 'create' could not be found for MongoidForums::ForumsController): actionpack (4.2.0) lib/abstract_controller/base.rb:132:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb within rescues/layout (0.5ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:28:02 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (3.2ms) Completed 200 OK in 49ms (Views: 31.1ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:28:02 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:28:02 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:28:02 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:28:02 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:28:02 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:28:02 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:28:02 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:28:02 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:28:05 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (12.2ms) Completed 200 OK in 47ms (Views: 44.6ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:28:05 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:28:05 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:28:05 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:28:05 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:28:05 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:28:05 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:28:05 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:28:05 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:28:05 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (4.6ms) Completed 200 OK in 25ms (Views: 22.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:28:05 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:28:05 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:28:05 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:28:05 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:28:05 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:28:05 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:28:05 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:28:05 -0500 Started GET "/forums/" for ::1 at 2015-01-10 16:28:08 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (20.9ms) Completed 200 OK in 41ms (Views: 40.6ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:28:08 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:28:08 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:28:08 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:28:08 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:28:08 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:28:08 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:28:08 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:28:08 -0500 Started GET "/forums/" for ::1 at 2015-01-10 16:28:08 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (6.4ms) Completed 200 OK in 29ms (Views: 29.2ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:28:08 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:28:08 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:28:08 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:28:08 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:28:08 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:28:08 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:28:08 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:28:08 -0500 Started GET "/forums/" for ::1 at 2015-01-10 16:28:08 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (8.0ms) Completed 200 OK in 32ms (Views: 31.8ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:28:08 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:28:08 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:28:08 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:28:08 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:28:08 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:28:08 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:28:08 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:28:08 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:28:15 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6070ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.8ms) Completed 200 OK in 35ms (Views: 31.6ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:28:15 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:28:15 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:28:15 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:28:15 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:28:15 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:28:15 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:28:15 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:28:15 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:28:52 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (4.2ms) Completed 200 OK in 25ms (Views: 22.8ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:28:52 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:28:52 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:28:52 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:28:52 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:28:52 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:28:52 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:28:52 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:28:52 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:28:53 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (2.9ms) Completed 200 OK in 25ms (Views: 21.2ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:28:53 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:28:53 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:28:53 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:28:53 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:28:53 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:28:53 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:28:53 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:28:53 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 16:30:15 -0500 AbstractController::ActionNotFound (The action 'create' could not be found for MongoidForums::ForumsController): actionpack (4.2.0) lib/abstract_controller/base.rb:132:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb within rescues/layout (0.6ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:35:08 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (4.8ms) Completed 200 OK in 72ms (Views: 30.0ms) Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:35:08 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:35:08 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:35:08 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:35:08 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:35:08 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:35:08 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:35:08 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:35:08 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 16:35:10 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"EOXD7H0cxW4SKO1lxvJpFjc12bR+ogvD8AsopGt38lIplkx1sCaL3XhVGKipzH9tZPNURQqXa9rBfFv35UQXsw==", "topic"=>{"name"=>"dsfsdf"}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4260ms Completed 500 Internal Server Error in 3ms ActiveModel::ForbiddenAttributesError (ActiveModel::ForbiddenAttributesError): activemodel (4.2.0) lib/active_model/forbidden_attributes_protection.rb:21:in `sanitize_for_mass_assignment' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:22:in `process_attributes' mongoid (4.0.0) lib/mongoid/document.rb:110:in `block in initialize' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:84:in `_building' mongoid (4.0.0) lib/mongoid/document.rb:104:in `initialize' mongoid (4.0.0) lib/mongoid/factory.rb:23:in `new' mongoid (4.0.0) lib/mongoid/factory.rb:23:in `build' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:82:in `build' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:24:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (17.9ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 16:36:53 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"EOXD7H0cxW4SKO1lxvJpFjc12bR+ogvD8AsopGt38lIplkx1sCaL3XhVGKipzH9tZPNURQqXa9rBfFv35UQXsw==", "topic"=>{"name"=>"dsfsdf"}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b19b754e65692e630f0000'), "name"=>"dsfsdf", "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "updated_at"=>2015-01-10 21:36:53 UTC, "created_at"=>2015-01-10 21:36:53 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b19b754e65692e630f0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms Completed 500 Internal Server Error in 32ms NoMethodError (undefined method `save' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:26:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (38.0ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 16:39:32 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"EOXD7H0cxW4SKO1lxvJpFjc12bR+ogvD8AsopGt38lIplkx1sCaL3XhVGKipzH9tZPNURQqXa9rBfFv35UQXsw==", "topic"=>{"name"=>"dsfsdf"}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (3.7ms) Completed 200 OK in 61ms (Views: 29.0ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:39:33 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:39:33 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:39:33 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:39:33 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:39:33 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:39:33 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:39:33 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:39:33 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 16:39:37 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"tJ+BYFnsHBf91JmdoJvU2rjKzlfyPOK/KuSnVOwjUoWN7A75lNZSpJepbFDPpcKh6wxDpoYJgqYbk9QHYhC3ZA==", "topic"=>{"name"=>"sdfsdf"}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (2.6ms) Completed 200 OK in 32ms (Views: 26.2ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:39:37 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:39:37 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:39:37 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:39:37 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:39:37 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:39:37 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:39:37 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:39:37 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:39:38 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:39:38 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:39:38 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:39:38 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:39:38 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:39:38 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:39:38 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:39:38 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:39:41 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b19b754e65692e630f0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7260ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (13.6ms) Completed 500 Internal Server Error in 18ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 21: = time_ago_in_words( topic.created_at ) 22: ago 23: %td 24: = topic.posts.last.user.forum_display_name 25: = time_ago_in_words( topic.posts.last.created_at ) 26: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:24:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__3617196157322502694_70130406872900' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__3617196157322502694_70130406872900' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (4.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (28.5ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:39:42 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b19b754e65692e630f0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (10.7ms) Completed 500 Internal Server Error in 16ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 21: = time_ago_in_words( topic.created_at ) 22: ago 23: %td 24: = topic.posts.last.user.forum_display_name 25: = time_ago_in_words( topic.posts.last.created_at ) 26: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:24:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__3617196157322502694_70130406872900' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__3617196157322502694_70130406872900' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (26.4ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:41:23 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (14.1ms) Completed 200 OK in 61ms (Views: 40.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:23 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:23 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:41:23 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:23 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:23 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:23 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:41:23 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:23 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:41:25 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (4.8ms) Completed 200 OK in 31ms (Views: 27.7ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:25 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:25 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:25 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:41:25 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:25 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:25 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:25 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:41:25 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 16:41:30 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nQutc27VkvCkV46GgP4zQraNIF/hxELrocg69eSyJ3ekeCLqo+/cQ84qe0vvwCU55UutrpXxIvKQv0mmaoHClg==", "topic"=>{"name"=>"A new topic"}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (2.3ms) Completed 200 OK in 33ms (Views: 25.2ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:30 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:30 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:30 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:30 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:30 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:41:30 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:30 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:41:30 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:41:34 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (9.1ms) Completed 200 OK in 64ms (Views: 58.6ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:34 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:34 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:34 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:34 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:41:34 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:34 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:34 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:41:34 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:41:35 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (4.5ms) Completed 200 OK in 31ms (Views: 29.1ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:35 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:35 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:41:35 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:35 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:35 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:35 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:35 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:41:35 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:41:36 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.1ms) Completed 200 OK in 29ms (Views: 25.1ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:36 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:36 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:36 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:41:36 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:36 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:36 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:36 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:41:36 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:41:36 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6140ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.8ms) Completed 200 OK in 29ms (Views: 26.4ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:36 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:36 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:36 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:36 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:41:36 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:36 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:36 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:41:36 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:41:36 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8870ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (6.2ms) Completed 200 OK in 30ms (Views: 26.7ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:36 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:36 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:36 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:36 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:41:36 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:36 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:36 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:41:36 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:41:37 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (7.7ms) Completed 200 OK in 32ms (Views: 29.4ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:37 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:37 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:37 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:37 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:41:37 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:37 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:37 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:41:37 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:41:37 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (4.7ms) Completed 200 OK in 29ms (Views: 26.3ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:37 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:37 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:37 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:41:37 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:37 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:37 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:37 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:41:37 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:41:42 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (2.9ms) Completed 200 OK in 33ms (Views: 30.6ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:42 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:42 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:42 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:41:42 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:42 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:42 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:42 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:41:42 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 16:41:44 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"DJ0ChienZOjrxRaVWfJhKpj0BVDyLXRyutxl4LkOx8817o0f6p0qW4G441g2zHdRyzKIoYYYFGuLqxazNz0iLg==", "topic"=>{"name"=>"sfsdf"}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (3.0ms) Completed 200 OK in 37ms (Views: 32.0ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:44 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:44 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:44 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:44 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:44 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:44 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:41:44 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:41:44 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 16:41:45 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"aXCwN2ABN4q3ueJBz0XifwoYXJTAiTc1T1zWjqHi0JVQAz+urTt5Od3EF4yge/QEWd7RZbS8Vyx+K6XdL9E1dA==", "topic"=>{"name"=>""}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (2.9ms) Completed 200 OK in 33ms (Views: 26.6ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:45 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:45 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:45 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:45 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:41:45 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:45 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:45 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:41:45 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:47 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:47 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:47 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:41:47 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:47 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:47 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:47 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:41:47 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:41:49 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7020ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (8.6ms) Completed 200 OK in 38ms (Views: 35.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:49 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:49 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:49 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:49 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:49 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:41:49 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:49 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:41:49 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:41:49 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (4.3ms) Completed 200 OK in 28ms (Views: 25.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:49 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:49 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:49 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:41:49 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:49 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:49 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:49 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:41:49 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:41:49 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (4.9ms) Completed 200 OK in 29ms (Views: 26.5ms) Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:49 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:49 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:41:49 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:49 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:41:49 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:49 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:41:49 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:41:49 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:42:22 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (14.3ms) Completed 200 OK in 66ms (Views: 44.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:42:23 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:42:23 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:42:23 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:42:23 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:42:23 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:42:23 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:42:23 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:42:23 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:42:23 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (3.8ms) Completed 200 OK in 32ms (Views: 28.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:42:23 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:42:23 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:42:23 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:42:23 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:42:23 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:42:23 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:42:23 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:42:23 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 16:42:25 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"7Edjhjmd6xdrtlA1bqmxtqM/eRWp9IZzvKGg/Qmml7bVNOwf9KelpAHLpfgBl6fN8Pn05N3B5mqN1tOuh5VyVw==", "topic"=>{"name"=>"dsfsdf"}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 21.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (3.0ms) Completed 200 OK in 68ms (Views: 38.3ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:42:25 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:42:25 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:42:25 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:42:25 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:42:25 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:42:25 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:42:25 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:42:25 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:42:31 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (6.0ms) Completed 200 OK in 37ms (Views: 34.4ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:42:31 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:42:31 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:42:31 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:42:31 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:42:31 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:42:31 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:42:31 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:42:31 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:42:50 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (3.1ms) Completed 200 OK in 28ms (Views: 23.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:42:50 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:42:50 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:42:50 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:42:50 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:42:50 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:42:50 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:42:50 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:42:50 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 16:42:52 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Qc5oDp64uNfSY1P3cNIadR9w0cArKsSfnVFKj2aXNkB4veeXU4L2ZLgepjof7AwOTLZcMV8fpIasJjnc6KTToQ==", "topic"=>{"name"=>"sdfsdf"}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (3.1ms) Completed 200 OK in 36ms (Views: 28.7ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:42:52 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:42:52 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:42:52 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:42:52 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:42:52 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:42:52 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:42:52 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:42:52 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 16:44:03 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Qc5oDp64uNfSY1P3cNIadR9w0cArKsSfnVFKj2aXNkB4veeXU4L2ZLgepjof7AwOTLZcMV8fpIasJjnc6KTToQ==", "topic"=>{"name"=>"sdfsdf"}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (4.0ms) Completed 200 OK in 31ms (Views: 23.4ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:03 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:03 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:03 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:03 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:03 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:44:03 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:03 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:44:03 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:44:05 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.8ms) Completed 200 OK in 31ms (Views: 27.9ms) Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:44:06 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:06 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:06 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:06 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:06 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:06 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:06 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:44:06 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:44:06 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (6.2ms) Completed 200 OK in 34ms (Views: 30.2ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:06 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:06 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:06 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:06 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:06 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:06 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:44:06 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:44:06 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:44:06 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6720ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (6.8ms) Completed 200 OK in 34ms (Views: 31.8ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:06 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:06 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:06 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:44:06 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:06 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:06 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:06 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:44:06 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:44:06 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (6.0ms) Completed 200 OK in 37ms (Views: 34.1ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:07 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:07 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:07 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:07 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:44:07 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:07 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:07 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:44:07 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:44:08 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5940ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (7.3ms) Completed 200 OK in 37ms (Views: 33.1ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:08 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:08 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:08 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:08 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:08 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:44:08 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:08 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:44:08 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:44:41 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (4.4ms) Completed 200 OK in 29ms (Views: 24.6ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:41 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:41 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:41 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:41 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:41 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:44:41 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:44:41 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:41 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:44:41 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3150ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (2.5ms) Completed 200 OK in 29ms (Views: 26.0ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:41 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:42 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:42 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:42 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:42 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:44:42 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:44:42 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:42 -0500 Started POST "/forums/topics" for ::1 at 2015-01-10 16:44:44 -0500 Processing by MongoidForums::TopicsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"qoVxA9SvImur81e2MRFYQK3Cz4jiqRnyctJfVGhGYZST9v6aGZVs2MGOonteL047/gRCeZaceetDpSwH5nWEdQ==", "topic"=>{"name"=>"sdfsdf"}, "commit"=>"Create Topic"} Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/create.html.erb within layouts/mongoid_forums/application (0.8ms) Completed 200 OK in 28ms (Views: 27.9ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:44 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:44 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:44 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:44:44 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:44 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:44 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:44:44 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:44 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:44:47 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (6.6ms) Completed 200 OK in 42ms (Views: 39.9ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:47 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:47 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:47 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:44:47 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:47 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:47 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:47 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:44:47 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:44:48 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.9ms) Completed 200 OK in 32ms (Views: 29.4ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:48 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:44:48 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:48 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:48 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:48 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:48 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:48 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:44:48 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:44:48 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (4.6ms) Completed 200 OK in 51ms (Views: 48.2ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:48 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:48 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:48 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:44:48 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:44:48 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:48 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:44:48 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:44:48 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:45:33 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.7ms) Completed 200 OK in 29ms (Views: 25.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:45:33 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:45:33 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:45:33 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:45:33 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:45:33 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:45:33 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:45:33 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:45:33 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:45:34 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (7.4ms) Completed 200 OK in 34ms (Views: 32.1ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:45:34 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:45:34 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:45:34 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:45:34 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:45:34 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:45:34 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:45:34 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:45:34 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:45:35 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (1.0ms) Completed 500 Internal Server Error in 7ms SyntaxError (/Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:6: syntax error, unexpected ',', expecting ')' haml_temp = form_for (@forum, @topic) do |f| ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:11: syntax error, unexpected keyword_ensure, expecting end-of-input): /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:6: syntax error, unexpected ',', expecting ')' haml_temp = form_for (@forum, @topic) do |f| ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:11: syntax error, unexpected keyword_ensure, expecting end-of-input actionview (4.2.0) lib/action_view/template.rb:296:in `module_eval' actionview (4.2.0) lib/action_view/template.rb:296:in `compile' actionview (4.2.0) lib/action_view/template.rb:245:in `block (2 levels) in compile!' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:244:in `block in compile!' actionview (4.2.0) lib/action_view/template.rb:232:in `synchronize' actionview (4.2.0) lib/action_view/template.rb:232:in `compile!' actionview (4.2.0) lib/action_view/template.rb:144:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (19.7ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:45:42 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (16.8ms) Completed 500 Internal Server Error in 22ms ActionView::Template::Error (undefined method `forum_topics_path' for #<#:0x007f9103e627d8>): 3: = @forum.category.name 4: Category 5: 6: = form_for ([@forum, @topic]) do |f| 7: = f.text_field :name 8: 9: = f.submit "Create Topic", :class => "btn", :disable_with => "Creating..." actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:220:in `polymorphic_method' actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:134:in `polymorphic_path' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:466:in `apply_form_for_options!' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:434:in `form_for' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:6:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__3074008362486326994_70130419768280' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.3ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:45:53 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (4.1ms) Completed 200 OK in 28ms (Views: 25.7ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:45:53 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:45:53 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:45:53 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:45:53 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:45:53 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:45:53 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:45:53 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:45:53 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:47:33 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.0050ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (5.8ms) Completed 200 OK in 29ms (Views: 25.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:47:33 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:47:33 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:47:33 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:47:33 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:47:33 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:47:33 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:47:33 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:47:34 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:47:34 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (3.7ms) Completed 200 OK in 40ms (Views: 33.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:47:34 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:47:34 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:47:34 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:47:34 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:47:34 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:47:34 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:47:34 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:47:34 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 16:47:36 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"FKRPz/ijfoaVTQNg27r0g/WYN8EOMAru1MAeU6LOol0t18BWNZkwNf8w9q20hOL4pl66MHoFavflt20ALP1HvA==", "topic"=>{"name"=>"sdfsdf"}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (3.2ms) Completed 200 OK in 37ms (Views: 31.3ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:47:36 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:47:36 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:47:36 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:47:36 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:47:36 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:47:36 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:47:36 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:47:36 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:47:38 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (8.8ms) Completed 200 OK in 38ms (Views: 34.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:47:38 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:47:38 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:47:38 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:47:38 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:47:38 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:47:38 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:47:38 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:47:38 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:47:39 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (4.9ms) Completed 200 OK in 35ms (Views: 31.6ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:47:39 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:47:39 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:47:39 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:47:39 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:47:39 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:47:39 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:47:39 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:47:39 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:47:39 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (6.2ms) Completed 200 OK in 33ms (Views: 30.5ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:47:39 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:47:39 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:47:39 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:47:39 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:47:39 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:47:39 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:47:39 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:47:39 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:47:39 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.6ms) Completed 200 OK in 29ms (Views: 27.0ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:47:39 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:47:39 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:47:39 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:47:39 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:47:39 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:47:39 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:47:39 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:47:39 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:47:40 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (4.7ms) Completed 200 OK in 33ms (Views: 30.9ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:47:40 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:47:40 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:47:40 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:47:40 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:47:40 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:47:40 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:47:40 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:47:40 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:48:31 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:48:31 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:48:31 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:48:31 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 16:49:39 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"8i5Pd51kAnjQzE3s411x2oKmlHYnE/AmBEevPzKIiSrLXcDuUF5My7qxuCGMY2eh0WAZh1MmkD81MNxsvLtsyw==", "topic"=>{"name"=>""}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (3.2ms) Completed 200 OK in 64ms (Views: 29.9ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:49:39 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:49:39 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:49:39 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:49:39 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:49:39 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:49:39 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:49:39 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:49:39 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:49:52 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (4.0ms) Completed 200 OK in 53ms (Views: 30.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:49:52 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:49:52 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:49:52 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:49:52 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:49:52 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:49:52 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:49:52 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:49:52 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 16:49:53 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"3Ct3Kzw7+e2saxN2D8ZdbdAbns4z+8Y2xQJCIwRE5GTlWPiy8QG3XsYW5rtg+EsWg90TP0fOpi/0dTFwincBhQ==", "topic"=>{"name"=>""}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (2.8ms) Completed 200 OK in 40ms (Views: 24.8ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:49:53 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:49:53 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:49:53 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:49:53 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:49:53 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:49:53 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:49:53 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:49:53 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 16:51:40 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"3Ct3Kzw7+e2saxN2D8ZdbdAbns4z+8Y2xQJCIwRE5GTlWPiy8QG3XsYW5rtg+EsWg90TP0fOpi/0dTFwincBhQ==", "topic"=>{"name"=>""}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5810ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (5.6ms) Completed 200 OK in 61ms (Views: 29.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:51:40 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:51:40 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:51:40 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:51:40 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:51:40 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:51:40 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:51:40 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:51:40 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 16:51:40 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"3Ct3Kzw7+e2saxN2D8ZdbdAbns4z+8Y2xQJCIwRE5GTlWPiy8QG3XsYW5rtg+EsWg90TP0fOpi/0dTFwincBhQ==", "topic"=>{"name"=>""}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (2.5ms) Completed 200 OK in 37ms (Views: 31.7ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:51:41 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:51:41 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:51:41 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:51:41 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:51:41 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:51:41 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:51:41 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:51:41 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 16:51:41 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"3Ct3Kzw7+e2saxN2D8ZdbdAbns4z+8Y2xQJCIwRE5GTlWPiy8QG3XsYW5rtg+EsWg90TP0fOpi/0dTFwincBhQ==", "topic"=>{"name"=>""}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7000ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (4.5ms) Completed 200 OK in 56ms (Views: 50.5ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:51:41 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:51:41 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:51:41 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:51:41 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:51:41 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:51:41 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:51:41 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:51:41 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:51:42 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (5.5ms) Completed 200 OK in 35ms (Views: 31.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:51:42 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:51:42 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:51:42 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:51:42 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:51:42 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:51:42 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:51:42 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:51:42 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:51:42 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (3.4ms) Completed 200 OK in 47ms (Views: 41.2ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:51:42 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:51:42 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:51:42 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:51:42 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.6320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6370ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (3.7ms) Completed 200 OK in 31ms (Views: 27.0ms) Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:51:42 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:51:42 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:51:42 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:51:42 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:51:42 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:51:42 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:51:42 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:51:42 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:51:42 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:51:42 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:51:42 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:51:42 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:51:42 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 16:51:48 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"tBkjVaKOSmu52IcDbjJVNH2T2wB6PWc1FpTtmk67BOKNaqzMb7QE2NOlcs4BDENPLlVW8Q4IBywn457JwIjhAw==", "topic"=>{"name"=>"sdfdsfsdf"}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (3.1ms) Completed 200 OK in 38ms (Views: 27.4ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:51:49 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:51:49 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:51:49 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:52:27 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7730ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (19.1ms) Completed 200 OK in 101ms (Views: 74.0ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:52:27 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:52:27 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:52:27 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 16:52:38 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"FJO/BG/vwghMVqPZm37gh5A8osc6T248XM0wZQjgl2Yt4DCdotWMuyYrVhT0QPb8w/ovNk56DiVtukM2htNyhw==", "topic"=>{"name"=>"sdafasdf"}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (2.9ms) Completed 200 OK in 99ms (Views: 28.8ms) Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:52:38 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:52:38 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:52:38 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:53:12 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (15.4ms) Completed 200 OK in 91ms (Views: 66.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:13 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:13 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:13 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:13 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:13 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:53:13 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:53:13 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:13 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 16:53:14 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"E8e+u0pZ8ulTFZ8+s4sKDFrWpz7VUkhWXyxLiFs8amAqtDEih2O8WjloavPctRx3CRAqz6FnKE9uWzjb1Q+PgQ==", "topic"=>{"name"=>"sdfdsf"}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (2.3ms) Completed 200 OK in 62ms (Views: 27.6ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:14 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:14 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:14 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:14 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:14 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:53:14 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:14 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:53:14 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:18 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:18 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:18 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:18 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:53:18 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:18 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:18 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:53:18 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 16:53:21 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (9.6ms) Completed 200 OK in 36ms (Views: 33.2ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:21 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:21 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:21 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:53:21 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:21 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:21 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:21 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:53:21 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:53:23 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (3.0ms) Completed 200 OK in 30ms (Views: 26.0ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:23 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:23 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:23 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:23 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:23 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:53:23 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:23 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:53:23 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 16:53:24 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Yd1nbozxWHJhtptPNeTzh4qbawZmik8LGe5bRhlYTvpYruj3QcsWwQvLboJa2uX82V3m9xK/LxIomSgVl2urGw==", "topic"=>{"name"=>"sdfsdf"}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (2.7ms) Completed 200 OK in 32ms (Views: 25.3ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:24 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:24 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:24 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:24 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:53:24 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:24 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:24 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:53:24 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 16:53:38 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Yd1nbozxWHJhtptPNeTzh4qbawZmik8LGe5bRhlYTvpYruj3QcsWwQvLboJa2uX82V3m9xK/LxIomSgVl2urGw==", "topic"=>{"name"=>"sdfsdf"}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (3.1ms) Completed 200 OK in 62ms (Views: 28.0ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:38 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:38 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:53:38 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:38 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:38 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:38 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:53:38 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:38 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:53:40 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (2.4ms) Completed 200 OK in 79ms (Views: 75.6ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:40 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:40 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:40 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:40 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:53:40 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:40 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:53:40 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (2.7ms) Completed 200 OK in 32ms (Views: 28.3ms) Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:40 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:53:40 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:40 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:40 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:40 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:40 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:53:40 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:53:40 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:40 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:40 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 16:53:42 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Xhd/GxD/KgZmNZblUYVQl0m2l/EMNyJWChhs4O+t6SNnZPCC3cVktQxIYyg+u0bsGnAaAHgCQk87bx+zYZ4Mwg==", "topic"=>{"name"=>"sfsdf"}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (2.8ms) Completed 200 OK in 33ms (Views: 26.5ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:42 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:42 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:42 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:42 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:42 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:53:42 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 16:53:49 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Xhd/GxD/KgZmNZblUYVQl0m2l/EMNyJWChhs4O+t6SNnZPCC3cVktQxIYyg+u0bsGnAaAHgCQk87bx+zYZ4Mwg==", "topic"=>{"name"=>"sfsdf"}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (2.9ms) Completed 200 OK in 60ms (Views: 28.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:50 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:50 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:53:50 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:50 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:50 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:53:50 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:53:50 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:53:50 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 16:54:11 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Xhd/GxD/KgZmNZblUYVQl0m2l/EMNyJWChhs4O+t6SNnZPCC3cVktQxIYyg+u0bsGnAaAHgCQk87bx+zYZ4Mwg==", "topic"=>{"name"=>"sfsdf"}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4540ms Completed 500 Internal Server Error in 19ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:26:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (25.8ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:55:11 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7680ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (4.4ms) Completed 200 OK in 48ms (Views: 28.4ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:55:11 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:55:11 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:55:11 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:55:11 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:55:11 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:55:11 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:55:11 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:55:11 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 16:55:12 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"OAbTT2czsucCO9+kV11nUR02PXnVx/j2FIaGupgloJ0BdVzWqgn8VGhGKmk4Y3EqTvCwiKHymO8l8fXpFhZFfA==", "topic"=>{"name"=>"dsfsdf"}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b19fc04e65693120060000'), "name"=>"dsfsdf", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "updated_at"=>2015-01-10 21:55:12 UTC, "created_at"=>2015-01-10 21:55:12 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b19fc04e65693120060000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms Completed 500 Internal Server Error in 17ms NoMethodError (undefined method `save' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:33:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (16.6ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 16:57:59 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"OAbTT2czsucCO9+kV11nUR02PXnVx/j2FIaGupgloJ0BdVzWqgn8VGhGKmk4Y3EqTvCwiKHymO8l8fXpFhZFfA==", "topic"=>{"name"=>"dsfsdf"}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b1a0674e65693120070000'), "name"=>"dsfsdf", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "updated_at"=>2015-01-10 21:57:59 UTC, "created_at"=>2015-01-10 21:57:59 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1a0674e65693120070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms Completed 500 Internal Server Error in 52ms NoMethodError (undefined method `save' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:33:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (24.8ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:58:01 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6430ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (3.5ms) Completed 200 OK in 31ms (Views: 27.6ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:58:01 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:58:01 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:58:01 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:58:01 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:58:01 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:58:01 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:58:01 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:58:01 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:58:02 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7550ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (2.9ms) Completed 200 OK in 30ms (Views: 26.1ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:58:02 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:58:02 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:58:02 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:58:02 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:58:02 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:58:02 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:58:02 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:58:02 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:58:02 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6610ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (3.3ms) Completed 200 OK in 27ms (Views: 25.1ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:58:02 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:58:02 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:58:02 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:58:02 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:58:02 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:58:02 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:58:02 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:58:02 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:58:04 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (3.1ms) Completed 200 OK in 23ms (Views: 20.1ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:58:04 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:58:04 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:58:04 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:58:04 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:58:04 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:58:04 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:58:04 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:58:04 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:58:04 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (2.8ms) Completed 200 OK in 24ms (Views: 20.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:58:05 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:58:05 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:58:05 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:58:05 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:58:05 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:58:05 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:58:05 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:58:05 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:58:22 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (4.8ms) Completed 500 Internal Server Error in 11ms ActionView::Template::Error (First argument in form cannot contain nil or be empty): 6: = form_for @topic, :url => forum_create_path do |f| 7: = f.text_field :name 8: 9: = form_for ([@topic, @post]) do |f| 10: = f.text_field :text 11: 12: - if params[:reply_to_id] actionview (4.2.0) lib/action_view/helpers/form_helper.rb:432:in `form_for' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:9:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__672929338286405556_70116895310220' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `call' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml' haml (4.0.6) lib/haml/helpers.rb:278:in `with_tabs' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:6:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__672929338286405556_70116895310220' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.9ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:58:47 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (3.9ms) Completed 500 Internal Server Error in 9ms ActionView::Template::Error (First argument in form cannot contain nil or be empty): 6: = form_for @topic, :url => forum_create_path do |f| 7: = f.text_field :name 8: 9: = form_for ([@topic, @post]) do |p| 10: = p.text_field :text 11: 12: = f.submit "Create Topic", :class => "btn", :disable_with => "Creating..." actionview (4.2.0) lib/action_view/helpers/form_helper.rb:432:in `form_for' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:9:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__672929338286405556_70116891325200' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `call' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml' haml (4.0.6) lib/haml/helpers.rb:278:in `with_tabs' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:6:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__672929338286405556_70116891325200' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.7ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:58:48 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (3.2ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (First argument in form cannot contain nil or be empty): 6: = form_for @topic, :url => forum_create_path do |f| 7: = f.text_field :name 8: 9: = form_for ([@topic, @post]) do |p| 10: = p.text_field :text 11: 12: = f.submit "Create Topic", :class => "btn", :disable_with => "Creating..." actionview (4.2.0) lib/action_view/helpers/form_helper.rb:432:in `form_for' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:9:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__672929338286405556_70116891325200' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `call' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml' haml (4.0.6) lib/haml/helpers.rb:278:in `with_tabs' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:6:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__672929338286405556_70116891325200' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.4ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 16:58:53 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (4.9ms) Completed 200 OK in 32ms (Views: 30.2ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:58:54 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:58:54 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 16:58:54 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 16:58:54 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:58:54 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:58:54 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 16:58:54 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 16:58:54 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 17:08:47 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (17.4ms) Completed 500 Internal Server Error in 24ms ActionView::Template::Error (undefined method `simple_fields_for' for #): 6: = form_for @topic, :url => forum_create_path do |f| 7: = f.text_field :name 8: 9: = f.simple_fields_for :posts do |post| 10: = render :partial => "mongoid_forums/posts/form", :locals => { :f => post } 11: 12: = f.submit "Create Topic", :class => "btn", :disable_with => "Creating..." /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:9:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__672929338286405556_70116855071840' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `call' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml' haml (4.0.6) lib/haml/helpers.rb:278:in `with_tabs' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:6:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__672929338286405556_70116855071840' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.5ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 17:08:57 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (12.9ms) Completed 500 Internal Server Error in 18ms ActionView::Template::Error (undefined method `simple_form_for' for #<#:0x007f8ab5230f18>): 3: = @forum.category.name 4: Category 5: 6: = simple_form_for @topic, :url => forum_create_path do |f| 7: = f.text_field :name 8: 9: = f.simple_fields_for :posts do |post| /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:6:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__672929338286405556_70116911323500' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (27.4ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 17:09:06 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (78.2ms) Completed 500 Internal Server Error in 146ms ActionView::Template::Error (Missing partial mongoid_forums/posts/_form with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Business/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Business/mongoid_forums/app/views" * "/Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views" ): 7: = f.text_field :name 8: 9: = f.simple_fields_for :posts do |post| 10: = render :partial => "mongoid_forums/posts/form", :locals => { :f => post } 11: 12: = f.submit "Create Topic", :class => "btn", :disable_with => "Creating..." actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:418:in `find_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:413:in `find_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:294:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:32:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:10:in `block (2 levels) in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__1070160702571318885_70233121422640' haml (4.0.6) lib/haml/helpers.rb:368:in `call' haml (4.0.6) lib/haml/helpers.rb:368:in `block in capture_haml' haml (4.0.6) lib/haml/helpers.rb:608:in `with_haml_buffer' haml (4.0.6) lib/haml/helpers.rb:364:in `capture_haml' haml (4.0.6) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' simple_form (3.0.3) lib/simple_form/action_view_extensions/builder.rb:26:in `simple_fields_for' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:9:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__1070160702571318885_70233121422640' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `call' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml' haml (4.0.6) lib/haml/helpers.rb:278:in `with_tabs' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss' simple_form (3.0.3) lib/simple_form/action_view_extensions/form_helper.rb:22:in `block in simple_form_for' simple_form (3.0.3) lib/simple_form/action_view_extensions/form_helper.rb:41:in `with_simple_form_field_error_proc' simple_form (3.0.3) lib/simple_form/action_view_extensions/form_helper.rb:21:in `simple_form_for' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:6:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__1070160702571318885_70233121422640' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (9.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (32.8ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 17:09:07 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (4.1ms) Completed 500 Internal Server Error in 9ms ActionView::Template::Error (Missing partial mongoid_forums/posts/_form with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Business/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Business/mongoid_forums/app/views" * "/Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views" ): 7: = f.text_field :name 8: 9: = f.simple_fields_for :posts do |post| 10: = render :partial => "mongoid_forums/posts/form", :locals => { :f => post } 11: 12: = f.submit "Create Topic", :class => "btn", :disable_with => "Creating..." actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:418:in `find_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:413:in `find_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:294:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:32:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:10:in `block (2 levels) in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__1070160702571318885_70233121422640' haml (4.0.6) lib/haml/helpers.rb:368:in `call' haml (4.0.6) lib/haml/helpers.rb:368:in `block in capture_haml' haml (4.0.6) lib/haml/helpers.rb:608:in `with_haml_buffer' haml (4.0.6) lib/haml/helpers.rb:364:in `capture_haml' haml (4.0.6) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' simple_form (3.0.3) lib/simple_form/action_view_extensions/builder.rb:26:in `simple_fields_for' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:9:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__1070160702571318885_70233121422640' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `call' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml' haml (4.0.6) lib/haml/helpers.rb:278:in `with_tabs' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss' simple_form (3.0.3) lib/simple_form/action_view_extensions/form_helper.rb:22:in `block in simple_form_for' simple_form (3.0.3) lib/simple_form/action_view_extensions/form_helper.rb:41:in `with_simple_form_field_error_proc' simple_form (3.0.3) lib/simple_form/action_view_extensions/form_helper.rb:21:in `simple_form_for' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml:6:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_new_haml__1070160702571318885_70233121422640' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.5ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 17:12:11 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (5.8ms) Completed 200 OK in 64ms (Views: 59.3ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:12:12 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:12:12 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:12:12 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:12:12 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:12:12 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:12:12 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:12:12 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:12:12 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 17:12:23 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3170ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (3.5ms) Completed 200 OK in 28ms (Views: 25.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:12:23 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:12:23 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:12:23 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:12:23 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:12:23 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:12:23 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:12:23 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:12:23 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 17:12:24 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (3.6ms) Completed 200 OK in 69ms (Views: 28.8ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:12:24 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:12:24 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:12:24 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:12:24 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:12:24 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:12:24 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:12:24 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:12:24 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 17:12:26 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (4.6ms) Completed 200 OK in 29ms (Views: 25.7ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:12:26 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:12:26 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:12:26 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:12:26 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:12:26 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:12:26 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:12:26 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:12:26 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 17:12:45 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (3.9ms) Completed 200 OK in 32ms (Views: 28.8ms) Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:12:45 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:12:45 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:12:45 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:12:45 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:12:45 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:12:45 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:12:45 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:12:45 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 17:13:16 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (4.0ms) Completed 200 OK in 26ms (Views: 22.3ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:13:16 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:13:16 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:13:16 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:13:16 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:13:16 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:13:16 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:13:16 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:13:16 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 17:13:27 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (5.6ms) Completed 200 OK in 28ms (Views: 25.0ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:13:27 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:13:27 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:13:27 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:13:27 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:13:27 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:13:27 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:13:27 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:13:27 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 17:14:57 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (7.1ms) Completed 200 OK in 45ms (Views: 41.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:14:58 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:14:58 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:14:58 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:14:58 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:14:58 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:14:58 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:14:58 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:14:58 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 17:15:16 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (16.0ms) Completed 200 OK in 38ms (Views: 34.7ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:15:16 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:15:16 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:15:16 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:15:16 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:15:16 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:15:16 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:15:16 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:15:16 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 17:15:41 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (7.8ms) Completed 200 OK in 32ms (Views: 28.6ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:15:41 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:15:41 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:15:41 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:15:41 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:15:41 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:15:41 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:15:41 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:15:41 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 17:16:00 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (8.0ms) Completed 200 OK in 29ms (Views: 27.1ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:16:00 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:16:00 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:16:00 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:16:00 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:16:00 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:16:00 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:16:00 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:16:00 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 17:16:05 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (6.3ms) Completed 200 OK in 28ms (Views: 24.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:16:05 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:16:05 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:16:05 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:16:05 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:16:05 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:16:05 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:16:05 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:16:05 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 17:16:12 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (7.7ms) Completed 200 OK in 70ms (Views: 66.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:16:12 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:16:12 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:16:12 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:16:12 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:16:12 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:16:12 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:16:12 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:16:12 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 17:16:23 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"2hWY199LwQ0nrcYy+7cv21hzOdWP1IoyghmccivhIhTjZhdOEnGPvk3QM/+UiTmgC7W0JPvh6iuzbu8hpdLH9Q==", "topic"=>{"name"=>"Some topic's name", "posts"=>{"text"=>"the first post of the topic"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5510ms Unpermitted parameter: posts MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b1a4b74e656932c70f0000'), "name"=>"Some topic's name", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "updated_at"=>2015-01-10 22:16:23 UTC, "created_at"=>2015-01-10 22:16:23 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1a4b74e656932c70f0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms Completed 500 Internal Server Error in 17ms NoMethodError (undefined method `save' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:33:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (18.8ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 17:16:49 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"2hWY199LwQ0nrcYy+7cv21hzOdWP1IoyghmccivhIhTjZhdOEnGPvk3QM/+UiTmgC7W0JPvh6iuzbu8hpdLH9Q==", "topic"=>{"name"=>"Some topic's name", "posts"=>{"text"=>"the first post of the topic"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4040ms Unpermitted parameter: posts MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b1a4d14e656932c7100000'), "name"=>"Some topic's name", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "updated_at"=>2015-01-10 22:16:49 UTC, "created_at"=>2015-01-10 22:16:49 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.9050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1a4d14e656932c7100000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0380ms Completed 500 Internal Server Error in 9ms NoMethodError (undefined method `save' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:33:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (16.3ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 17:17:58 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (6.1ms) Completed 200 OK in 72ms (Views: 49.0ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:17:58 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:17:58 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:17:58 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:17:58 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:17:58 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:17:58 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:17:58 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:17:58 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 17:18:05 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"V5MmpdvBpV975DxNUGR5IHqOMrZ2Ap2ndIiECLg/hyJu4Kk8Fvvr7BGZyYA/Wm9bKUi/RwI3/b5F//dbNgxiww==", "topic"=>{"name"=>"Some topic's name", "posts"=>{"text"=>"the first post"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms Unpermitted parameter: posts MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Completed 400 Bad Request in 13ms ActionController::ParameterMissing (param is missing or the value is empty: posts): actionpack (4.2.0) lib/action_controller/metal/strong_parameters.rb:249:in `require' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:52:in `post_params' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:30:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (16.5ms) Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 17:18:40 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (10.7ms) Completed 200 OK in 65ms (Views: 37.4ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:18:41 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:18:41 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:18:41 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:18:41 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:18:41 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:18:41 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:18:41 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:18:41 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 17:18:44 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nle3KhE0Q/lUl4WVDLDazT9SVtfclDudX8qTFVDy9oKnJDiz3A4NSj7qcFhjjsy2bJTbJqihW4RuveBG3sETYw==", "topic"=>{"name"=>"sdfsdf", "posts"=>{"text"=>"sdfsd"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3530ms Unpermitted parameter: posts Unpermitted parameter: name MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms Unpermitted parameter: posts Unpermitted parameter: name Completed 500 Internal Server Error in 13ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:30:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (16.1ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 17:19:13 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nle3KhE0Q/lUl4WVDLDazT9SVtfclDudX8qTFVDy9oKnJDiz3A4NSj7qcFhjjsy2bJTbJqihW4RuveBG3sETYw==", "topic"=>{"name"=>"sdfsdf", "posts"=>{"text"=>"sdfsd"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3950ms Unpermitted parameter: posts Completed 400 Bad Request in 16ms ActionController::ParameterMissing (param is missing or the value is empty: posts): actionpack (4.2.0) lib/action_controller/metal/strong_parameters.rb:249:in `require' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:48:in `topic_params' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:27:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (20.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (36.3ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 17:22:35 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nle3KhE0Q/lUl4WVDLDazT9SVtfclDudX8qTFVDy9oKnJDiz3A4NSj7qcFhjjsy2bJTbJqihW4RuveBG3sETYw==", "topic"=>{"name"=>"sdfsdf", "posts"=>{"text"=>"sdfsd"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2910ms Unpermitted parameter: posts MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms Unpermitted parameter: posts Completed 500 Internal Server Error in 31ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:30:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (21.1ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 17:22:57 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nle3KhE0Q/lUl4WVDLDazT9SVtfclDudX8qTFVDy9oKnJDiz3A4NSj7qcFhjjsy2bJTbJqihW4RuveBG3sETYw==", "topic"=>{"name"=>"sdfsdf", "posts"=>{"text"=>"sdfsd"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5670ms Unpermitted parameter: posts MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms Unpermitted parameter: posts Completed 500 Internal Server Error in 33ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:30:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (22.7ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 17:28:09 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nle3KhE0Q/lUl4WVDLDazT9SVtfclDudX8qTFVDy9oKnJDiz3A4NSj7qcFhjjsy2bJTbJqihW4RuveBG3sETYw==", "topic"=>{"name"=>"sdfsdf", "posts"=>{"text"=>"sdfsd"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4180ms Unpermitted parameter: posts MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms Unpermitted parameter: posts Unpermitted parameter: posts Completed 500 Internal Server Error in 28ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:31:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (20.7ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 17:28:45 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nle3KhE0Q/lUl4WVDLDazT9SVtfclDudX8qTFVDy9oKnJDiz3A4NSj7qcFhjjsy2bJTbJqihW4RuveBG3sETYw==", "topic"=>{"name"=>"sdfsdf", "posts"=>{"text"=>"sdfsd"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3740ms Unpermitted parameter: posts MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms Unpermitted parameter: posts Unpermitted parameter: posts Completed 500 Internal Server Error in 31ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:32:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (20.7ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 17:29:18 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nle3KhE0Q/lUl4WVDLDazT9SVtfclDudX8qTFVDy9oKnJDiz3A4NSj7qcFhjjsy2bJTbJqihW4RuveBG3sETYw==", "topic"=>{"name"=>"sdfsdf", "posts"=>{"text"=>"sdfsd"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4390ms Unpermitted parameter: posts MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms Unpermitted parameter: posts Unpermitted parameter: posts Completed 500 Internal Server Error in 33ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:33:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (19.2ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 17:29:53 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nle3KhE0Q/lUl4WVDLDazT9SVtfclDudX8qTFVDy9oKnJDiz3A4NSj7qcFhjjsy2bJTbJqihW4RuveBG3sETYw==", "topic"=>{"name"=>"sdfsdf", "posts"=>{"text"=>"sdfsd"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4700ms Unpermitted parameter: posts MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms Unpermitted parameter: posts Unpermitted parameter: posts Completed 500 Internal Server Error in 36ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:33:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (30.1ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 17:34:10 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nle3KhE0Q/lUl4WVDLDazT9SVtfclDudX8qTFVDy9oKnJDiz3A4NSj7qcFhjjsy2bJTbJqihW4RuveBG3sETYw==", "topic"=>{"name"=>"sdfsdf", "posts"=>{"text"=>"sdfsd"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4130ms Unpermitted parameter: text MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6030ms Unpermitted parameter: text Unpermitted parameter: text MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (7.3ms) Completed 200 OK in 102ms (Views: 62.6ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:34:11 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:34:11 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:34:11 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:34:11 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:34:11 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:34:11 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:34:11 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:34:11 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 17:34:13 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ke9N1I9x+pVM5lb6u+mOsCUVycAQ1XoJbA5fWeyZtZkQnMJNQku0JiabozfU15jLdtNEMWTgGhBdeSwKYqpQeA==", "topic"=>{"name"=>"sdfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3900ms Unpermitted parameter: text MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms Unpermitted parameter: text Unpermitted parameter: text MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (4.7ms) Completed 200 OK in 38ms (Views: 29.8ms) Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:34:13 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:34:13 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:34:13 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:34:13 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:34:13 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:34:13 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:34:13 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:34:13 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:34:15 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:34:15 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:34:15 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:34:15 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:34:15 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:34:15 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:34:15 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:34:15 -0500 Started GET "/forums/54b163bf4e656920a7000000/" for ::1 at 2015-01-10 17:34:17 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (7.1ms) Completed 200 OK in 34ms (Views: 31.2ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:34:17 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:34:17 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:34:17 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:34:17 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:34:17 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:34:17 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:34:17 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:34:17 -0500 Started GET "/forums/54b163bf4e656920a7000000/" for ::1 at 2015-01-10 17:34:18 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.0ms) Completed 200 OK in 35ms (Views: 31.8ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:34:18 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:34:18 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:34:18 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:34:18 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:34:18 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:34:18 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:34:18 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:34:18 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 17:34:19 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (6.2ms) Completed 200 OK in 38ms (Views: 34.2ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:34:19 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:34:19 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:34:19 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:34:19 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:34:19 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:34:19 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:34:19 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:34:19 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 17:34:23 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"vbmsDGMV3wuwEGnLadD2wghf0GFKmFwpWXJqtRsJVaSEyiOVri+RuNptnAYG7uC5W5ldkD6tPDBoBRnmlTqwRQ==", "topic"=>{"name"=>"sdfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4340ms Unpermitted parameter: text MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms Unpermitted parameter: text Unpermitted parameter: text MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (4.9ms) Completed 200 OK in 39ms (Views: 31.2ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:34:23 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:34:23 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:34:23 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:34:23 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:34:23 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:34:23 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:34:23 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:34:23 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 17:34:45 -0500 SyntaxError (/Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:51: syntax error, unexpected '}', expecting => params.require(:topic).permit(:name, :posts => {:text}) ^): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:51: syntax error, unexpected '}', expecting => params.require(:topic).permit(:name, :posts => {:text}) ^ activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load' activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:647:in `new_constants_in' activesupport (4.2.0) lib/active_support/dependencies.rb:456:in `load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:354:in `require_or_load' activesupport (4.2.0) lib/active_support/dependencies.rb:494:in `load_missing_constant' activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' activesupport (4.2.0) lib/active_support/dependencies.rb:566:in `get' activesupport (4.2.0) lib/active_support/dependencies.rb:597:in `constantize' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (17.3ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 17:34:48 -0500 SyntaxError (/Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:51: syntax error, unexpected '}', expecting => params.require(:topic).permit(:name, :posts => {:text}) ^): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:51: syntax error, unexpected '}', expecting => params.require(:topic).permit(:name, :posts => {:text}) ^ activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load' activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:647:in `new_constants_in' activesupport (4.2.0) lib/active_support/dependencies.rb:456:in `load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:354:in `require_or_load' activesupport (4.2.0) lib/active_support/dependencies.rb:494:in `load_missing_constant' activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' activesupport (4.2.0) lib/active_support/dependencies.rb:566:in `get' activesupport (4.2.0) lib/active_support/dependencies.rb:597:in `constantize' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (24.3ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 17:35:43 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"vbmsDGMV3wuwEGnLadD2wghf0GFKmFwpWXJqtRsJVaSEyiOVri+RuNptnAYG7uC5W5ldkD6tPDBoBRnmlTqwRQ==", "topic"=>{"name"=>"sdfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b1a93f4e656932c71b0000'), "name"=>"sdfsdf", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "updated_at"=>2015-01-10 22:35:43 UTC, "created_at"=>2015-01-10 22:35:43 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1a93f4e656932c71b0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b1a93f4e656932c71a0000'), "text"=>"sdfsdf", "topic_id"=>BSON::ObjectId('54b1a93f4e656932c71b0000'), "updated_at"=>2015-01-10 22:35:43 UTC, "created_at"=>2015-01-10 22:35:43 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4870ms Redirected to http://localhost:3000/forums/topics/54b1a93f4e656932c71b0000 Completed 302 Found in 43ms Started GET "/forums/topics/54b1a93f4e656932c71b0000" for ::1 at 2015-01-10 17:35:43 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1a93f4e656932c71b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1a93f4e656932c71b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1a93f4e656932c71b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4370ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (5.2ms) Completed 500 Internal Server Error in 14ms ActionView::Template::Error (undefined method `forum_display_name' for nil:NilClass): 1: %br 2: = post.user.forum_display_name 3: - if post.reply_to_id 4: replied to 5: = MongoidForums::Post.find(post.reply_to_id).user.forum_display_name /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml___4281511311318827303_70233145215980' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml___3977617995667711399_70233145037500' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (12.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (33.3ms) Started GET "/forums/topics/54b1a93f4e656932c71b0000" for ::1 at 2015-01-10 17:36:13 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1a93f4e656932c71b0000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1a93f4e656932c71b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3130ms Completed 404 Not Found in 2ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Topic with id(s) 54b1a93f4e656932c71b0000. Summary: When calling MongoidForums::Topic.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): 54b1a93f4e656932c71b0000 ... (1 total) and the following ids were not found: 54b1a93f4e656932c71b0000. Resolution: Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.): mongoid (4.0.0) lib/mongoid/criteria.rb:475:in `check_for_missing_documents!' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:20:in `execute_or_raise' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:40:in `find' mongoid (4.0.0) lib/mongoid/findable.rb:90:in `find' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:6:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (20.0ms) Started GET "/forums/topics" for ::1 at 2015-01-10 17:36:19 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"topics"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>"topics"} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms Completed 404 Not Found in 1ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) topics. Summary: When calling MongoidForums::Forum.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): topics ... (1 total) and the following ids were not found: topics. Resolution: Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.): mongoid (4.0.0) lib/mongoid/criteria.rb:475:in `check_for_missing_documents!' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:20:in `execute_or_raise' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:40:in `find' mongoid (4.0.0) lib/mongoid/findable.rb:90:in `find' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:10:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (21.6ms) Started GET "/forums/" for ::1 at 2015-01-10 17:36:23 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (11.1ms) Completed 200 OK in 56ms (Views: 55.3ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:36:23 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:36:23 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:36:23 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:36:23 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:36:23 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:36:23 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:36:23 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:36:23 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 17:36:24 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.1ms) Completed 200 OK in 34ms (Views: 28.3ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:36:24 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:36:24 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:36:24 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:36:24 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:36:24 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:36:24 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:36:24 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:36:24 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 17:36:26 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (8.1ms) Completed 200 OK in 38ms (Views: 33.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:36:26 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:36:26 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:36:26 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:36:26 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:36:26 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:36:26 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:36:26 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:36:26 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 17:36:29 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"/ipMM3o3bcPv3hOVLXIE9ZZpOdvpkwjZmS9Egc9K2JHHWcOqtw0jcIWj5lhCTBKOxa+0Kp2maMCoWDfSQXk9cA==", "topic"=>{"name"=>"dsfsd", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b1a96d4e656932c71e0000'), "name"=>"dsfsd", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "updated_at"=>2015-01-10 22:36:29 UTC, "created_at"=>2015-01-10 22:36:29 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1a96d4e656932c71e0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b1a96d4e656932c71d0000'), "text"=>"sdfsdf", "topic_id"=>BSON::ObjectId('54b1a96d4e656932c71e0000'), "updated_at"=>2015-01-10 22:36:29 UTC, "created_at"=>2015-01-10 22:36:29 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8000ms Redirected to http://localhost:3000/forums/topics/54b1a96d4e656932c71e0000 Completed 302 Found in 13ms Started GET "/forums/topics/54b1a96d4e656932c71e0000" for ::1 at 2015-01-10 17:36:29 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1a96d4e656932c71e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1a96d4e656932c71e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1a96d4e656932c71e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4870ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (0.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.1ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (undefined method `forum_display_name' for nil:NilClass): 1: %br 2: = post.user.forum_display_name 3: - if post.reply_to_id 4: replied to 5: = MongoidForums::Post.find(post.reply_to_id).user.forum_display_name /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml___4281511311318827303_70233145215980' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml___3977617995667711399_70233145037500' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.8ms) Started GET "/forums/topics/54b1a96d4e656932c71e0000" for ::1 at 2015-01-10 17:36:50 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1a96d4e656932c71e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1a96d4e656932c71e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1a96d4e656932c71e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4610ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (1.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.0ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (undefined method `forum_display_name' for nil:NilClass): 1: %br 2: = post.user.forum_display_name 3: - if post.reply_to_id 4: replied to 5: = MongoidForums::Post.find(post.reply_to_id).user.forum_display_name /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml___4281511311318827303_70233145215980' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml___3977617995667711399_70233145037500' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.3ms) Started GET "/forums/topics/54b1a96d4e656932c71e0000" for ::1 at 2015-01-10 17:37:28 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1a96d4e656932c71e0000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1a96d4e656932c71e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1a96d4e656932c71e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5450ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (5.9ms) Completed 500 Internal Server Error in 13ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 1: %br 2: = @post.user.forum_display_name 3: - if @post.reply_to_id 4: replied to 5: = MongoidForums::Post.find(@post.reply_to_id).user.forum_display_name /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml___4281511311318827303_70233146126460' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml___3977617995667711399_70233146204960' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.9ms) Started GET "/forums/topics/54b1a96d4e656932c71e0000" for ::1 at 2015-01-10 17:38:26 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1a96d4e656932c71e0000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1a96d4e656932c71e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1a96d4e656932c71e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4600ms Rendered collection (0.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (0.3ms) Completed 200 OK in 46ms (Views: 25.4ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:38:26 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:38:26 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:38:26 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:38:26 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:38:26 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:38:26 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:38:26 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:38:26 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 17:38:28 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6500ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (10.1ms) Completed 500 Internal Server Error in 32ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 21: = time_ago_in_words( topic.created_at ) 22: ago 23: %td 24: = topic.posts.last.user.forum_display_name 25: = time_ago_in_words( topic.posts.last.created_at ) 26: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:24:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___2270364843479396048_70233146578380' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___2270364843479396048_70233146578380' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (34.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (51.1ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 17:38:30 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (4.3ms) Completed 500 Internal Server Error in 9ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 21: = time_ago_in_words( topic.created_at ) 22: ago 23: %td 24: = topic.posts.last.user.forum_display_name 25: = time_ago_in_words( topic.posts.last.created_at ) 26: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:24:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___2270364843479396048_70233146578380' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___2270364843479396048_70233146578380' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.1ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 17:38:42 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (4.7ms) Completed 500 Internal Server Error in 10ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 21: = time_ago_in_words( topic.created_at ) 22: ago 23: %td 24: = topic.posts.last.user.forum_display_name 25: = time_ago_in_words( topic.posts.last.created_at ) 26: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:24:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___2270364843479396048_70233146578380' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___2270364843479396048_70233146578380' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.1ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 17:38:43 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1663b4e65692160000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (4.4ms) Completed 500 Internal Server Error in 9ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 21: = time_ago_in_words( topic.created_at ) 22: ago 23: %td 24: = topic.posts.last.user.forum_display_name 25: = time_ago_in_words( topic.posts.last.created_at ) 26: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:24:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___2270364843479396048_70233146578380' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___2270364843479396048_70233146578380' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.2ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 17:39:00 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2890ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.6ms) Completed 200 OK in 31ms (Views: 28.8ms) Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:39:00 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:39:00 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:39:00 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:39:00 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:39:00 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:39:00 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:39:00 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:39:00 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 17:39:01 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (6.0ms) Completed 200 OK in 36ms (Views: 31.3ms) Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:39:02 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:39:02 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:39:02 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:39:02 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:39:02 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:39:02 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:39:02 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:39:02 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 17:39:08 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"m1OwWetotzONvisjsnQoomjnbYiSIFM2mm2L2oHuZuqiID/AJlL5gOfD3u7dSj7ZOyHgeeYVMy+rGviJD92DCw==", "topic"=>{"name"=>"Topic A", "posts"=>{"text"=>"hello world"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b1aa0c4e656932c7210000'), "name"=>"Topic A", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "updated_at"=>2015-01-10 22:39:08 UTC, "created_at"=>2015-01-10 22:39:08 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1aa0c4e656932c7210000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b1aa0c4e656932c7200000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "text"=>"hello world", "topic_id"=>BSON::ObjectId('54b1aa0c4e656932c7210000'), "updated_at"=>2015-01-10 22:39:08 UTC, "created_at"=>2015-01-10 22:39:08 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4910ms Redirected to http://localhost:3000/forums/topics/54b1aa0c4e656932c7210000 Completed 302 Found in 16ms Started GET "/forums/topics/54b1aa0c4e656932c7210000" for ::1 at 2015-01-10 17:39:08 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1aa0c4e656932c7210000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aa0c4e656932c7210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1aa0c4e656932c7210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3860ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (1.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.6ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 1: %br 2: = @post.user.forum_display_name 3: - if @post.reply_to_id 4: replied to 5: = MongoidForums::Post.find(@post.reply_to_id).user.forum_display_name /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml___4281511311318827303_70233146126460' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml___3977617995667711399_70233146204960' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (25.0ms) Started GET "/forums/topics/54b1aa0c4e656932c7210000" for ::1 at 2015-01-10 17:39:10 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1aa0c4e656932c7210000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aa0c4e656932c7210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1aa0c4e656932c7210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4100ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (0.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.0ms) Completed 500 Internal Server Error in 7ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 1: %br 2: = @post.user.forum_display_name 3: - if @post.reply_to_id 4: replied to 5: = MongoidForums::Post.find(@post.reply_to_id).user.forum_display_name /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml___4281511311318827303_70233146126460' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml___3977617995667711399_70233146204960' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.5ms) Started GET "/forums/topics/54b1aa0c4e656932c7210000" for ::1 at 2015-01-10 17:39:50 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1aa0c4e656932c7210000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aa0c4e656932c7210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1aa0c4e656932c7210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5500ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (0.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.6ms) Completed 500 Internal Server Error in 35ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 1: %br 2: = @post.user.forum_display_name 3: - if @post.reply_to_id 4: replied to 5: = MongoidForums::Post.find(@post.reply_to_id).user.forum_display_name /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml___4281511311318827303_70233146126460' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml___3977617995667711399_70233146204960' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (24.8ms) Started GET "/forums/topics/54b1aa0c4e656932c7210000" for ::1 at 2015-01-10 17:39:51 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1aa0c4e656932c7210000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aa0c4e656932c7210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1aa0c4e656932c7210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (0.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.5ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 1: %br 2: = @post.user.forum_display_name 3: - if @post.reply_to_id 4: replied to 5: = MongoidForums::Post.find(@post.reply_to_id).user.forum_display_name /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml___4281511311318827303_70233146126460' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml___3977617995667711399_70233146204960' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.6ms) Started GET "/forums/topics/54b1aa0c4e656932c7210000" for ::1 at 2015-01-10 17:41:03 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1aa0c4e656932c7210000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aa0c4e656932c7210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1aa0c4e656932c7210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (4.6ms) Completed 200 OK in 91ms (Views: 60.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:03 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:03 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:03 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:41:03 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:03 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:03 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:41:03 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:03 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 17:41:05 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (11.0ms) Completed 200 OK in 53ms (Views: 40.8ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:05 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:05 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:05 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:41:05 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:05 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:05 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:05 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:41:05 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 17:41:06 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.4ms) Completed 200 OK in 24ms (Views: 20.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:06 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:06 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:06 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:41:06 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:06 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:06 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:06 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:41:06 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 17:41:07 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2960ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.5ms) Completed 200 OK in 26ms (Views: 22.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:07 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:07 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:07 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:07 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:07 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:41:07 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:07 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:41:07 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 17:41:07 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3290ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.6ms) Completed 200 OK in 27ms (Views: 24.6ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:07 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:41:07 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:07 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:07 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:07 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:08 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:08 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:41:08 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 17:41:08 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.4ms) Completed 200 OK in 28ms (Views: 25.4ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:08 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:08 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:41:08 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:08 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:08 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:08 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:08 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:41:08 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 17:41:09 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (7.1ms) Completed 200 OK in 46ms (Views: 40.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:09 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:09 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:09 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:41:09 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:09 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:09 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:09 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:41:09 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 17:41:13 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"kmH07ObYsejNoN44LNS28wbjDQxCLWolDuMLAGOiLSOrEnt1K+L/W6fdK/VD6qCIVSWA/TYYCjw/lHhT7ZHIwg==", "topic"=>{"name"=>"sdfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b1aa894e656932c7250000'), "name"=>"sdfsdf", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "updated_at"=>2015-01-10 22:41:13 UTC, "created_at"=>2015-01-10 22:41:13 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1aa894e656932c7250000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6290ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b1aa894e656932c7240000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "text"=>"sdfsdf", "topic_id"=>BSON::ObjectId('54b1aa894e656932c7250000'), "updated_at"=>2015-01-10 22:41:13 UTC, "created_at"=>2015-01-10 22:41:13 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5080ms Redirected to http://localhost:3000/forums/topics/54b1aa894e656932c7250000 Completed 302 Found in 37ms Started GET "/forums/topics/54b1aa894e656932c7250000" for ::1 at 2015-01-10 17:41:13 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1aa894e656932c7250000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aa894e656932c7250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1aa894e656932c7250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (1.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.7ms) Completed 200 OK in 30ms (Views: 27.0ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:13 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:13 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:41:13 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:13 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:13 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:13 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:13 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:41:13 -0500 Started GET "/forums/topics/54b1aa894e656932c7250000" for ::1 at 2015-01-10 17:41:14 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1aa894e656932c7250000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aa894e656932c7250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1aa894e656932c7250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (1.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.5ms) Completed 200 OK in 30ms (Views: 27.1ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:14 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:14 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:14 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:14 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:41:14 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:14 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:14 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:41:14 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 17:41:17 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7400ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.5ms) Completed 200 OK in 31ms (Views: 26.8ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:17 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:17 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:17 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:17 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:17 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:41:17 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:17 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:41:17 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 17:41:17 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.5ms) Completed 200 OK in 32ms (Views: 29.3ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:17 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:17 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:17 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:41:17 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:17 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:17 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:17 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:41:17 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 17:41:17 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6400ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.6ms) Completed 200 OK in 29ms (Views: 25.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:17 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:17 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:41:17 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:17 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:17 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:41:17 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:41:17 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:41:17 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 17:42:04 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7150ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.8ms) Completed 200 OK in 54ms (Views: 27.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:04 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:05 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:05 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:42:05 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:05 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:05 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:05 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:42:05 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 17:42:05 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (7.4ms) Completed 200 OK in 42ms (Views: 37.7ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:05 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:05 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:05 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:05 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:05 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:42:05 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:05 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:42:05 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 17:42:17 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"0Ddy40/TiimSv+2NeMhwWRc7fGVFreKiRd8C91jiu9XpRP16gunEmvjCGEAX9mYiRP3xlDGYgrt0qHGk1tFeNA==", "topic"=>{"name"=>"Hello world", "posts"=>{"text"=>"this is a topic post!"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9330ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b1aac94e656932c7270000'), "name"=>"Hello world", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-10 22:42:17 UTC, "created_at"=>2015-01-10 22:42:17 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 2.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7600ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b1aac94e656932c7280000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "text"=>"this is a topic post!", "topic_id"=>BSON::ObjectId('54b1aac94e656932c7270000'), "updated_at"=>2015-01-10 22:42:17 UTC, "created_at"=>2015-01-10 22:42:17 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 2.3360ms Redirected to http://localhost:3000/forums/topics/54b1aac94e656932c7270000 Completed 302 Found in 29ms Started GET "/forums/topics/54b1aac94e656932c7270000" for ::1 at 2015-01-10 17:42:17 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.4ms) Completed 200 OK in 39ms (Views: 34.9ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:17 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:17 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:17 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:17 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:17 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:42:17 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:17 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:42:17 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 17:42:21 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (8.4ms) Completed 200 OK in 39ms (Views: 36.1ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:21 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:21 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:21 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:21 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:21 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:21 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:42:21 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:42:22 -0500 Started GET "/forums/topics/54b1aac94e656932c7270000" for ::1 at 2015-01-10 17:42:23 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (1.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.2ms) Completed 200 OK in 31ms (Views: 27.2ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:23 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:23 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:23 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:23 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:42:23 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:23 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:23 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:42:23 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 17:42:25 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (8.0ms) Completed 200 OK in 36ms (Views: 32.7ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:25 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:25 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:25 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:25 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:42:25 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:25 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:25 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:42:25 -0500 Started GET "/forums/" for ::1 at 2015-01-10 17:42:27 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (11.2ms) Completed 200 OK in 39ms (Views: 39.1ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:27 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:27 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:27 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:27 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:27 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:42:27 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:27 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:42:27 -0500 Started GET "/forums/" for ::1 at 2015-01-10 17:42:29 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (31.2ms) Completed 200 OK in 55ms (Views: 54.2ms) Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:42:29 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:29 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:29 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:29 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:29 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:29 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:42:29 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:29 -0500 Started GET "/topics/54b1aac94e656932c7270000" for ::1 at 2015-01-10 17:42:31 -0500 ActionController::RoutingError (No route matches [GET] "/topics/54b1aac94e656932c7270000"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (3.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (41.7ms) Started GET "/forums/" for ::1 at 2015-01-10 17:42:47 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6620ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (23.6ms) Completed 500 Internal Server Error in 28ms ActionView::Template::Error (undefined method `post_path' for #<#:0x007fc0db432238>): 19: - last_post = forum.topics.last.posts.last 20: = time_ago_in_words ( last_post.created_at ) 21: ago on 22: = link_to last_post.topic.name, last_post 23: by 24: = last_post.user.forum_display_name actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:268:in `handle_model_call' actionview (4.2.0) lib/action_view/routing_url_for.rb:113:in `url_for' actionview (4.2.0) lib/action_view/helpers/url_helper.rb:181:in `link_to' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:22:in `block (2 levels) in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__440425417986277549_70233144525520' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:165:in `block in each' mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:184:in `block in each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:181:in `each' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:165:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:14:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__440425417986277549_70233144525520' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__440425417986277549_70233144525520' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.8ms) Started GET "/forums/" for ::1 at 2015-01-10 17:42:52 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (10.4ms) Completed 200 OK in 33ms (Views: 32.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:53 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:53 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:53 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:53 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:42:53 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:53 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:53 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:42:53 -0500 Started GET "/forums/topics/54b1aac94e656932c7270000" for ::1 at 2015-01-10 17:42:54 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7020ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (6.0ms) Completed 200 OK in 34ms (Views: 31.2ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:54 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:54 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:54 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:54 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:42:54 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:54 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:54 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:42:54 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 17:42:56 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (6.9ms) Completed 200 OK in 38ms (Views: 34.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:56 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:56 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:56 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:56 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:42:56 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:56 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:56 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:42:56 -0500 Started GET "/forums/topics/54b1aac94e656932c7270000" for ::1 at 2015-01-10 17:42:58 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (1.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.9ms) Completed 200 OK in 29ms (Views: 26.9ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:58 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:58 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:58 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:42:58 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:58 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:42:58 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:42:58 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:42:58 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 17:43:42 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (2.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (122.3ms) Completed 200 OK in 315ms (Views: 210.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:43:42 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:43:42 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:43:42 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:43:42 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:43:42 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:43:42 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:43:42 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:43:42 -0500 Started GET "/forums/54b163bf4e656920a7000000/" for ::1 at 2015-01-10 17:43:46 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0750ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (28.4ms) Completed 200 OK in 61ms (Views: 56.1ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:43:46 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:43:46 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:43:46 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:43:46 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:43:46 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:43:46 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:43:46 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:43:46 -0500 Started GET "/forums/topics/54b1aac94e656932c7270000" for ::1 at 2015-01-10 17:44:26 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (6.0ms) Completed 200 OK in 37ms (Views: 34.3ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:44:26 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:44:26 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:44:26 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:44:26 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:44:26 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:44:26 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:44:26 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:44:26 -0500 Started GET "/forums/topics/54b1aac94e656932c7270000" for ::1 at 2015-01-10 17:44:55 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (23.9ms) Completed 500 Internal Server Error in 30ms ActionView::Template::Error (undefined method `new_post_path' for #<#:0x007fbc2c0b7918>): 1: %h1 Viewing Topic "#{@topic.name}" 2: = link_to "Reply", new_post_path(@topic) 3: = render @posts /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml___4391146662016656495_70223081130920' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (26.6ms) Started GET "/forums/topics/54b1aac94e656932c7270000" for ::1 at 2015-01-10 17:45:16 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4690ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (16.6ms) Completed 500 Internal Server Error in 24ms ActionView::Template::Error (undefined method `new_topic_post' for #<#:0x007fbc2bda97f8>): 1: %h1 Viewing Topic "#{@topic.name}" 2: = link_to "Reply", new_topic_post(@topic) 3: = render @posts /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml___4391146662016656495_70223083148460' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.1ms) Started GET "/forums/topics/54b1aac94e656932c7270000" for ::1 at 2015-01-10 17:45:21 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (1.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.8ms) Completed 200 OK in 38ms (Views: 35.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:45:21 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:45:21 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:45:21 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:45:21 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:45:21 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:45:21 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:45:21 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:45:21 -0500 Started GET "/forums/topics/54b1aac94e656932c7270000/posts/new" for ::1 at 2015-01-10 17:45:22 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (6.1ms) Completed 200 OK in 50ms (Views: 43.6ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:45:23 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:45:23 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:45:23 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:45:23 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:45:23 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:45:23 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:45:23 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:45:23 -0500 Started GET "/forums/topics/54b1aac94e656932c7270000/posts/new" for ::1 at 2015-01-10 17:45:41 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (6.0ms) Completed 200 OK in 35ms (Views: 32.0ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:45:41 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:45:41 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:45:41 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:45:41 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:45:41 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:45:41 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:45:41 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:45:41 -0500 Started GET "/forums/topics/54b1aac94e656932c7270000/posts/new" for ::1 at 2015-01-10 17:45:45 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (4.7ms) Completed 200 OK in 28ms (Views: 26.0ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:45:45 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:45:45 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:45:45 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:45:45 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:45:45 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:45:45 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:45:45 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:45:45 -0500 Started GET "/forums/topics/54b1aac94e656932c7270000/posts/new" for ::1 at 2015-01-10 17:45:49 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7010ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (6.9ms) Completed 200 OK in 36ms (Views: 31.7ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:45:50 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:45:50 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:45:50 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:45:50 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:45:50 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:45:50 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:45:50 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:45:50 -0500 Started GET "/forums/topics/54b1aac94e656932c7270000/posts/new" for ::1 at 2015-01-10 17:45:53 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5760ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (5.4ms) Completed 200 OK in 50ms (Views: 47.3ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:45:53 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:45:53 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:45:53 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:45:53 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:45:53 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:45:53 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:45:53 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:45:53 -0500 Started GET "/forums/topics/54b1aac94e656932c7270000/posts/new" for ::1 at 2015-01-10 17:45:59 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (4.0ms) Completed 200 OK in 28ms (Views: 25.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:46:00 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:46:00 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:46:00 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:46:00 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:46:00 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:46:00 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:46:00 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:46:00 -0500 Started GET "/forums/topics/54b1aac94e656932c7270000/posts/new" for ::1 at 2015-01-10 17:46:02 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (5.6ms) Completed 200 OK in 32ms (Views: 29.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:46:02 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:46:02 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:46:02 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:46:02 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:46:02 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:46:02 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:46:02 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:46:02 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:46:07 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:46:07 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:46:07 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:46:07 -0500 Started GET "/forums/topics/54b1aac94e656932c7270000/posts/new" for ::1 at 2015-01-10 17:46:30 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (4.2ms) Completed 200 OK in 34ms (Views: 30.3ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:46:30 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:46:30 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:46:30 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:46:30 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:46:30 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:46:30 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:46:30 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:46:30 -0500 Started GET "/forums/topics/54b1aac94e656932c7270000/posts/new" for ::1 at 2015-01-10 17:46:34 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (5.2ms) Completed 200 OK in 33ms (Views: 30.0ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:46:34 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:46:34 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:46:34 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:46:34 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:46:34 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:46:34 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:46:34 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:46:34 -0500 Started POST "/forums/topics/54b1aac94e656932c7270000/posts" for ::1 at 2015-01-10 17:46:38 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"h4DScV552wQ8meDQt5pig5G46ukUGsalkLmB+HbQ8R2+813ok0OVt1bkFR3YpHT4wn5nGGAvpryhzvKr+OMU/A==", "post"=>{"text"=>"this is a reply"}, "commit"=>"Create Reply", "topic_id"=>"54b1aac94e656932c7270000"} Completed 500 Internal Server Error in 2ms ActionView::MissingTemplate (Missing template mongoid_forums/posts/create, mongoid_forums/application/create with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Business/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Business/mongoid_forums/app/views" * "/Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views" ): actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (27.6ms) Started GET "/forums/topics/54b1aac94e656932c7270000" for ::1 at 2015-01-10 17:46:44 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (13.9ms) Completed 200 OK in 39ms (Views: 36.3ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:46:44 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:46:44 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:46:44 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:46:44 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:46:44 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:46:44 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:46:44 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:46:44 -0500 Started GET "/forums/topics/54b1aac94e656932c7270000" for ::1 at 2015-01-10 17:46:44 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (1.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.7ms) Completed 200 OK in 30ms (Views: 26.6ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:46:45 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:46:45 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:46:45 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:46:45 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:46:45 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:46:45 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:46:45 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:46:45 -0500 Started GET "/forums/topics/54b1aac94e656932c7270000/posts/new" for ::1 at 2015-01-10 17:46:46 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (2.8ms) Completed 200 OK in 35ms (Views: 32.1ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:46:46 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:46:46 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:46:46 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:46:46 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:46:46 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:46:46 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:46:46 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:46:46 -0500 Started POST "/forums/topics/54b1aac94e656932c7270000/posts" for ::1 at 2015-01-10 17:46:58 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"YQ+ticdq5+wYGtjuuGR9EsTfIqCD4n59UAibMXbh9tVYfCIQClCpX3JnLSPXWmtplxmvUffXHmRhf+hi+NITNA==", "post"=>{"text"=>""}, "commit"=>"Create Reply", "topic_id"=>"54b1aac94e656932c7270000"} Completed 500 Internal Server Error in 3ms ActionView::MissingTemplate (Missing template mongoid_forums/posts/create, mongoid_forums/application/create with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Business/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Business/mongoid_forums/app/views" * "/Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views" ): actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (20.7ms) Started POST "/forums/topics/54b1aac94e656932c7270000/posts" for ::1 at 2015-01-10 17:48:11 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"YQ+ticdq5+wYGtjuuGR9EsTfIqCD4n59UAibMXbh9tVYfCIQClCpX3JnLSPXWmtplxmvUffXHmRhf+hi+NITNA==", "post"=>{"text"=>""}, "commit"=>"Create Reply", "topic_id"=>"54b1aac94e656932c7270000"} Completed 500 Internal Server Error in 15ms ActionView::MissingTemplate (Missing template mongoid_forums/posts/create, mongoid_forums/application/create with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Business/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Business/mongoid_forums/app/views" * "/Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views" ): actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (62.1ms) Started POST "/forums/topics/54b1aac94e656932c7270000/posts" for ::1 at 2015-01-10 17:48:14 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"YQ+ticdq5+wYGtjuuGR9EsTfIqCD4n59UAibMXbh9tVYfCIQClCpX3JnLSPXWmtplxmvUffXHmRhf+hi+NITNA==", "post"=>{"text"=>"dsf"}, "commit"=>"Create Reply", "topic_id"=>"54b1aac94e656932c7270000"} Completed 500 Internal Server Error in 2ms ActionView::MissingTemplate (Missing template mongoid_forums/posts/create, mongoid_forums/application/create with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Business/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Business/mongoid_forums/app/views" * "/Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views" ): actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (18.7ms) Started POST "/forums/topics/54b1aac94e656932c7270000/posts" for ::1 at 2015-01-10 17:48:55 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"YQ+ticdq5+wYGtjuuGR9EsTfIqCD4n59UAibMXbh9tVYfCIQClCpX3JnLSPXWmtplxmvUffXHmRhf+hi+NITNA==", "post"=>{"text"=>"dsf"}, "commit"=>"Create Reply", "topic_id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4850ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b1ac574e656935440b0000'), "text"=>"dsf", "updated_at"=>2015-01-10 22:48:55 UTC, "created_at"=>2015-01-10 22:48:55 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6390ms Redirected to Completed 500 Internal Server Error in 19ms ActionController::ActionControllerError (Cannot redirect to nil!): actionpack (4.2.0) lib/action_controller/metal/redirecting.rb:70:in `redirect_to' actionpack (4.2.0) lib/action_controller/metal/flash.rb:57:in `redirect_to' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:61:in `block in redirect_to' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:60:in `redirect_to' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:17:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (18.5ms) Started GET "/forums/topics/54b1aac94e656932c7270000" for ::1 at 2015-01-10 17:48:59 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (1.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.0ms) Completed 200 OK in 85ms (Views: 33.2ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:48:59 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:48:59 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:48:59 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:48:59 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:48:59 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:48:59 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:48:59 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:48:59 -0500 Started GET "/forums/topics/54b1aac94e656932c7270000/posts/new" for ::1 at 2015-01-10 17:49:00 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (5.7ms) Completed 200 OK in 40ms (Views: 36.6ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:49:00 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:49:00 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:49:00 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:49:00 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:49:00 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:49:00 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:49:00 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:49:00 -0500 Started POST "/forums/topics/54b1aac94e656932c7270000/posts" for ::1 at 2015-01-10 17:49:01 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"L1EJETrvCT8H+7MPs2wfTBswa8BhZBvpw+IsLkgvKccWIoaI99VHjG2GRsLcUgk3SPbmMRVRe/DylV99xhzMJg==", "post"=>{"text"=>"sdfsdf"}, "commit"=>"Create Reply", "topic_id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b1ac5d4e656935440d0000'), "text"=>"sdfsdf", "updated_at"=>2015-01-10 22:49:01 UTC, "created_at"=>2015-01-10 22:49:01 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4870ms Redirected to Completed 500 Internal Server Error in 3ms ActionController::ActionControllerError (Cannot redirect to nil!): actionpack (4.2.0) lib/action_controller/metal/redirecting.rb:70:in `redirect_to' actionpack (4.2.0) lib/action_controller/metal/flash.rb:57:in `redirect_to' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:61:in `block in redirect_to' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:60:in `redirect_to' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:17:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (22.9ms) Started POST "/forums/topics/54b1aac94e656932c7270000/posts" for ::1 at 2015-01-10 17:49:21 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"L1EJETrvCT8H+7MPs2wfTBswa8BhZBvpw+IsLkgvKccWIoaI99VHjG2GRsLcUgk3SPbmMRVRe/DylV99xhzMJg==", "post"=>{"text"=>"sdfsdf"}, "commit"=>"Create Reply", "topic_id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b1ac714e656935440e0000'), "text"=>"sdfsdf", "updated_at"=>2015-01-10 22:49:21 UTC, "created_at"=>2015-01-10 22:49:21 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6530ms Redirected to Completed 500 Internal Server Error in 19ms ActionController::ActionControllerError (Cannot redirect to nil!): actionpack (4.2.0) lib/action_controller/metal/redirecting.rb:70:in `redirect_to' actionpack (4.2.0) lib/action_controller/metal/flash.rb:57:in `redirect_to' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:61:in `block in redirect_to' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:60:in `redirect_to' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:18:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (21.2ms) Started POST "/forums/topics/54b1aac94e656932c7270000/posts" for ::1 at 2015-01-10 17:49:50 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"L1EJETrvCT8H+7MPs2wfTBswa8BhZBvpw+IsLkgvKccWIoaI99VHjG2GRsLcUgk3SPbmMRVRe/DylV99xhzMJg==", "post"=>{"text"=>"sdfsdf"}, "commit"=>"Create Reply", "topic_id"=>"54b1aac94e656932c7270000"} Completed 400 Bad Request in 16ms ActionController::ParameterMissing (param is missing or the value is empty: topic_id): actionpack (4.2.0) lib/action_controller/metal/strong_parameters.rb:249:in `require' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:40:in `post_params' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:14:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (24.2ms) Started POST "/forums/topics/54b1aac94e656932c7270000/posts" for ::1 at 2015-01-10 17:49:56 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"L1EJETrvCT8H+7MPs2wfTBswa8BhZBvpw+IsLkgvKccWIoaI99VHjG2GRsLcUgk3SPbmMRVRe/DylV99xhzMJg==", "post"=>{"text"=>"sdfsdf"}, "commit"=>"Create Reply", "topic_id"=>"54b1aac94e656932c7270000"} Completed 400 Bad Request in 6ms ActionController::ParameterMissing (param is missing or the value is empty: topic_id): actionpack (4.2.0) lib/action_controller/metal/strong_parameters.rb:249:in `require' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:40:in `post_params' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:12:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (17.2ms) Started POST "/forums/topics/54b1aac94e656932c7270000/posts" for ::1 at 2015-01-10 17:50:16 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"L1EJETrvCT8H+7MPs2wfTBswa8BhZBvpw+IsLkgvKccWIoaI99VHjG2GRsLcUgk3SPbmMRVRe/DylV99xhzMJg==", "post"=>{"text"=>"sdfsdf"}, "commit"=>"Create Reply", "topic_id"=>"54b1aac94e656932c7270000"} Completed 500 Internal Server Error in 7ms TypeError (no implicit conversion of Symbol into Integer): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:12:in `[]' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:12:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (17.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (40.2ms) Started POST "/forums/topics/54b1aac94e656932c7270000/posts" for ::1 at 2015-01-10 17:50:26 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"L1EJETrvCT8H+7MPs2wfTBswa8BhZBvpw+IsLkgvKccWIoaI99VHjG2GRsLcUgk3SPbmMRVRe/DylV99xhzMJg==", "post"=>{"text"=>"sdfsdf"}, "commit"=>"Create Reply", "topic_id"=>"54b1aac94e656932c7270000"} Completed 500 Internal Server Error in 13ms TypeError (no implicit conversion of Symbol into Integer): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:12:in `[]' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:12:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (18.1ms) Started POST "/forums/topics/54b1aac94e656932c7270000/posts" for ::1 at 2015-01-10 17:50:37 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"L1EJETrvCT8H+7MPs2wfTBswa8BhZBvpw+IsLkgvKccWIoaI99VHjG2GRsLcUgk3SPbmMRVRe/DylV99xhzMJg==", "post"=>{"text"=>"sdfsdf"}, "commit"=>"Create Reply", "topic_id"=>"54b1aac94e656932c7270000"} Completed 500 Internal Server Error in 17ms Mongoid::Errors::InvalidFind ( Problem: Calling Document.find with nil is invalid. Summary: Document.find expects the parameters to be 1 or more ids, and will return a single document if 1 id is provided, otherwise an array of documents if multiple ids are provided. Resolution: Most likely this is caused by passing parameters directly through to the find, and the parameter either is not present or the key from which it is accessed is incorrect.): mongoid (4.0.0) lib/mongoid/criteria/findable.rb:135:in `raise_invalid' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:39:in `find' mongoid (4.0.0) lib/mongoid/findable.rb:90:in `find' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:12:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (20.0ms) Started POST "/forums/topics/54b1aac94e656932c7270000/posts" for ::1 at 2015-01-10 17:51:14 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"L1EJETrvCT8H+7MPs2wfTBswa8BhZBvpw+IsLkgvKccWIoaI99VHjG2GRsLcUgk3SPbmMRVRe/DylV99xhzMJg==", "post"=>{"text"=>"sdfsdf"}, "commit"=>"Create Reply", "topic_id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4280ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (2.7ms) Completed 200 OK in 69ms (Views: 46.1ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:51:14 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:51:14 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:51:14 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:51:14 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:51:14 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:51:14 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:51:14 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:51:14 -0500 Started POST "/forums/topics/54b1aac94e656932c7270000/posts" for ::1 at 2015-01-10 17:51:17 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"hMpLx/pQlyg6SJYB++ZrOEBNNfGopNkPBlSHuTFYZLa9ucReN2rZm1A1Y8yU2H1DE4u4ANyRuRY3I/Tqv2uBVw==", "post"=>{"text"=>"sdfsdf"}, "commit"=>"Create Reply", "topic_id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4550ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (4.0ms) Completed 200 OK in 35ms (Views: 31.6ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:51:17 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:51:17 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:51:17 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:51:17 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:51:17 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:51:17 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:51:17 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:51:17 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:51:18 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:51:18 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:51:18 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:51:18 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:51:18 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:51:18 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:51:18 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:51:18 -0500 Started GET "/forums/topics/54b1aac94e656932c7270000" for ::1 at 2015-01-10 17:51:20 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9160ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (6.9ms) Completed 200 OK in 47ms (Views: 44.0ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:51:20 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:51:20 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:51:20 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:51:20 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:51:20 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:51:20 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:51:20 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:51:20 -0500 Started GET "/forums/topics/54b1aac94e656932c7270000" for ::1 at 2015-01-10 17:51:21 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (1.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.6ms) Completed 200 OK in 27ms (Views: 23.5ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:51:21 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:51:21 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:51:21 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:51:21 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:51:21 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:51:21 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:51:21 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:51:21 -0500 Started GET "/forums/topics/54b1aac94e656932c7270000/posts/new" for ::1 at 2015-01-10 17:51:21 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (4.5ms) Completed 200 OK in 31ms (Views: 28.2ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:51:21 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:51:21 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:51:21 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:51:21 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:51:21 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:51:21 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:51:21 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:51:21 -0500 Started GET "/forums/topics/54b1aac94e656932c7270000/posts/new" for ::1 at 2015-01-10 17:51:26 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6880ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (3.5ms) Completed 200 OK in 56ms (Views: 30.0ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:51:26 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:51:26 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:51:26 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:51:26 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:51:26 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:51:26 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:51:26 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:51:26 -0500 Started GET "/forums/topics/54b1aac94e656932c7270000/posts/new" for ::1 at 2015-01-10 17:51:29 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (3.7ms) Completed 200 OK in 81ms (Views: 56.5ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:51:30 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:51:30 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:51:30 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:51:30 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:51:30 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:51:30 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:51:30 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:51:30 -0500 Started POST "/forums/topics/54b1aac94e656932c7270000/posts" for ::1 at 2015-01-10 17:51:32 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Yz+o7NuNBpkOFDZm+XathN4Y0Za7m0gaaG48AHv/JvdaTCd1FrdIKmRpw6uWSLv/jd5cZ8+uKANZGU9T9czDFg==", "post"=>{"text"=>"sdfsf"}, "commit"=>"Create Reply", "topic_id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4060ms Completed 500 Internal Server Error in 5ms NameError (undefined local variable or method `dssss' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:15:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (22.0ms) Started POST "/forums/topics/54b1aac94e656932c7270000/posts" for ::1 at 2015-01-10 17:51:46 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Yz+o7NuNBpkOFDZm+XathN4Y0Za7m0gaaG48AHv/JvdaTCd1FrdIKmRpw6uWSLv/jd5cZ8+uKANZGU9T9czDFg==", "post"=>{"text"=>"sdfsf"}, "commit"=>"Create Reply", "topic_id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6230ms Completed 500 Internal Server Error in 28ms NameError (undefined local variable or method `dssss' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:15:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (25.8ms) Started GET "/forums/topics/54b1aac94e656932c7270000/posts/new" for ::1 at 2015-01-10 17:52:18 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (3.7ms) Completed 200 OK in 57ms (Views: 34.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:52:18 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:52:18 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:52:18 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:52:18 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:52:18 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:52:18 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:52:18 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:52:18 -0500 Started POST "/forums/topics/54b1aac94e656932c7270000/posts" for ::1 at 2015-01-10 17:52:19 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"D5XWjJPbpY/Oa86w24d6oxbgveVe3vWWFP8meO+0s5c25lkVXuHrPKQWO320uWzYRSYwFCrrlY8liFUrYYdWdg==", "post"=>{"text"=>"sdfsdf"}, "commit"=>"Create Reply", "topic_id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b1ad234e65693544150000'), "text"=>"sdfsdf", "topic_id"=>BSON::ObjectId('54b1aac94e656932c7270000'), "updated_at"=>2015-01-10 22:52:19 UTC, "created_at"=>2015-01-10 22:52:19 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3980ms Redirected to http://localhost:3000/forums/topics/54b1aac94e656932c7270000 Completed 302 Found in 4ms Started GET "/forums/topics/54b1aac94e656932c7270000" for ::1 at 2015-01-10 17:52:19 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8110ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.0ms) Completed 500 Internal Server Error in 15ms ActionView::Template::Error (undefined method `forum_display_name' for nil:NilClass): 1: %br 2: = post.user.forum_display_name 3: - if post.reply_to_id 4: replied to 5: = MongoidForums::Post.find(post.reply_to_id).user.forum_display_name /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml__2315875809944483943_70223086884340' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml___4391146662016656495_70223093191480' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (24.8ms) Started GET "/forums/topics/54b1aac94e656932c7270000" for ::1 at 2015-01-10 17:52:22 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.8ms) Completed 500 Internal Server Error in 9ms ActionView::Template::Error (undefined method `forum_display_name' for nil:NilClass): 1: %br 2: = post.user.forum_display_name 3: - if post.reply_to_id 4: replied to 5: = MongoidForums::Post.find(post.reply_to_id).user.forum_display_name /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml__2315875809944483943_70223086884340' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml___4391146662016656495_70223093191480' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.3ms) Started GET "/forums/topics/54b1aac94e656932c7270000" for ::1 at 2015-01-10 17:52:36 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1aac94e656932c7270000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1aac94e656932c7270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9260ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.6ms) Completed 500 Internal Server Error in 43ms ActionView::Template::Error (undefined method `forum_display_name' for nil:NilClass): 1: %br 2: = post.user.forum_display_name 3: - if post.reply_to_id 4: replied to 5: = MongoidForums::Post.find(post.reply_to_id).user.forum_display_name /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml__2315875809944483943_70223086884340' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml___4391146662016656495_70223093191480' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (25.3ms) Started GET "/forums/" for ::1 at 2015-01-10 17:53:06 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (18.4ms) Completed 500 Internal Server Error in 24ms ActionView::Template::Error (undefined method `posts' for nil:NilClass): 16: %td 17: = link_to forum.name, forum 18: %td 19: - last_post = forum.topics.last.posts.last 20: = time_ago_in_words ( last_post.created_at ) 21: ago on 22: = link_to last_post.topic.name, last_post.topic /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:19:in `block (2 levels) in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2661016717618592138_70223088303680' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:165:in `block in each' mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:184:in `block in each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:181:in `each' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:165:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:14:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2661016717618592138_70223088303680' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2661016717618592138_70223088303680' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.4ms) Started GET "/forums/" for ::1 at 2015-01-10 17:53:07 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (4.7ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (undefined method `posts' for nil:NilClass): 16: %td 17: = link_to forum.name, forum 18: %td 19: - last_post = forum.topics.last.posts.last 20: = time_ago_in_words ( last_post.created_at ) 21: ago on 22: = link_to last_post.topic.name, last_post.topic /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:19:in `block (2 levels) in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2661016717618592138_70223088303680' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:165:in `block in each' mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:184:in `block in each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:181:in `each' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:165:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:14:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2661016717618592138_70223088303680' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2661016717618592138_70223088303680' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.2ms) Started GET "/forums/" for ::1 at 2015-01-10 17:53:26 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (4.5ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (undefined method `posts' for nil:NilClass): 16: %td 17: = link_to forum.name, forum 18: %td 19: - last_post = forum.topics.last.posts.last 20: = time_ago_in_words ( last_post.created_at ) 21: ago on 22: = link_to last_post.topic.name, last_post.topic /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:19:in `block (2 levels) in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2661016717618592138_70223088303680' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:165:in `block in each' mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:184:in `block in each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:181:in `each' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:165:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:14:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2661016717618592138_70223088303680' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2661016717618592138_70223088303680' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (24.9ms) Started GET "/forums/" for ::1 at 2015-01-10 17:54:29 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6990ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (24.9ms) Completed 500 Internal Server Error in 38ms ActionView::Template::Error (undefined method `posts' for nil:NilClass): 17: %td 18: = link_to forum.name, forum 19: %td 20: - last_post = forum.topics.last.posts.last 21: = time_ago_in_words ( last_post.created_at ) 22: ago on 23: = link_to last_post.topic.name, last_post.topic /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:20:in `block (2 levels) in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2661016717618592138_70223133895820' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:165:in `block in each' mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:184:in `block in each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:181:in `each' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:165:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:14:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2661016717618592138_70223133895820' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2661016717618592138_70223133895820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (24.2ms) Started GET "/forums/" for ::1 at 2015-01-10 17:54:48 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (5.0ms) Completed 200 OK in 34ms (Views: 33.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:54:48 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:54:48 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:54:48 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:54:48 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:54:48 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:54:48 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:54:48 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:54:48 -0500 Started GET "/forums/" for ::1 at 2015-01-10 17:55:13 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (9.9ms) Completed 500 Internal Server Error in 14ms ActionView::Template::Error (undefined method `posts' for nil:NilClass): 16: %td 17: = link_to forum.name, forum 18: %td 19: - last_post = forum.topics.last.posts.last 20: = time_ago_in_words ( last_post.created_at ) 21: ago on 22: = link_to last_post.topic.name, last_post.topic /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:19:in `block (2 levels) in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2661016717618592138_70223131741000' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:165:in `block in each' mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:184:in `block in each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:181:in `each' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:165:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:14:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2661016717618592138_70223131741000' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2661016717618592138_70223131741000' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.8ms) Started GET "/forums/" for ::1 at 2015-01-10 17:55:18 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (5.4ms) Completed 200 OK in 31ms (Views: 31.2ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:55:18 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:55:18 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:55:18 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:55:18 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:55:18 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:55:18 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:55:18 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:55:18 -0500 Started GET "/forums/" for ::1 at 2015-01-10 17:55:31 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2930ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (6.6ms) Completed 200 OK in 32ms (Views: 32.1ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:55:31 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:55:31 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:55:31 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:55:31 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:55:31 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:55:31 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:55:31 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:55:31 -0500 Started GET "/forums/" for ::1 at 2015-01-10 17:55:45 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (5.4ms) Completed 200 OK in 32ms (Views: 31.3ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:55:45 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:55:45 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:55:45 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:55:45 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:55:45 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:55:45 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:55:45 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:55:45 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 17:55:46 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5400ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.6ms) Completed 200 OK in 27ms (Views: 23.7ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:55:47 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:55:47 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:55:47 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:55:47 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:55:47 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:55:47 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:55:47 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:55:47 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-10 17:55:48 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (7.3ms) Completed 200 OK in 38ms (Views: 33.3ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:55:48 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:55:48 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:55:48 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:55:48 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:55:48 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:55:48 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:55:48 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:55:48 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-10 17:55:55 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"a24zza7lYWNW1akv0lI606LLqOhClRacLojE/pvT2BtSHbxUY98v0DyoXOK9bCyo8Q0lGTagdoUf/7etFeA9+g==", "topic"=>{"name"=>"This is a topic", "posts"=>{"text"=>"hello world"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9470ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000'), "name"=>"This is a topic", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-10 22:55:55 UTC, "created_at"=>2015-01-10 22:55:55 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6750ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b1adfb4e65693544180000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "text"=>"hello world", "topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000'), "updated_at"=>2015-01-10 22:55:55 UTC, "created_at"=>2015-01-10 22:55:55 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5570ms Redirected to http://localhost:3000/forums/topics/54b1adfb4e65693544170000 Completed 302 Found in 30ms Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 17:55:55 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1750ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (5.5ms) Completed 200 OK in 42ms (Views: 39.4ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:55:55 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:55:55 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:55:55 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:55:55 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:55:55 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:55:55 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:55:55 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:55:55 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 17:55:56 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (4.1ms) Completed 200 OK in 55ms (Views: 52.5ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:55:57 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:55:57 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:55:57 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:55:57 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:55:57 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:55:57 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:55:57 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:55:57 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new" for ::1 at 2015-01-10 17:55:57 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (3.7ms) Completed 200 OK in 36ms (Views: 32.6ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:55:57 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:55:57 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:55:57 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:55:57 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:55:57 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:55:57 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:55:57 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:55:57 -0500 Started POST "/forums/topics/54b1adfb4e65693544170000/posts" for ::1 at 2015-01-10 17:56:02 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"/lFqsFelK8Cdw3eR+RvrP9O5WfAOnMYOg+O8RtM/2+bHIuUpmp9lc/e+glyWJf1EgH/UAXqppheylM8VXQw+Bw==", "post"=>{"text"=>"this is a post"}, "commit"=>"Create Reply", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b1ae024e656935441a0000'), "text"=>"this is a post", "topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "updated_at"=>2015-01-10 22:56:02 UTC, "created_at"=>2015-01-10 22:56:02 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4280ms Redirected to http://localhost:3000/forums/topics/54b1adfb4e65693544170000 Completed 302 Found in 8ms Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 17:56:02 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6040ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (5.3ms) Completed 200 OK in 37ms (Views: 33.3ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:56:03 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:56:03 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:56:03 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:56:03 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:56:03 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:56:03 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:56:03 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:56:03 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 17:56:04 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.5ms) Completed 200 OK in 27ms (Views: 24.1ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:56:04 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:56:04 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:56:04 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:56:04 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:56:04 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:56:04 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:56:04 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:56:04 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 17:56:04 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2970ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.8ms) Completed 200 OK in 28ms (Views: 25.9ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:56:04 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:56:04 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:56:04 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:56:04 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:56:04 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:56:04 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:56:04 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:56:04 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 17:56:18 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (6.2ms) Completed 200 OK in 41ms (Views: 35.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:56:19 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:56:19 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:56:19 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:56:19 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:56:19 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:56:19 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:56:19 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:56:19 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 17:56:26 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.2ms) Completed 200 OK in 38ms (Views: 35.4ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:56:26 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:56:27 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:56:27 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:56:27 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:56:27 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:56:27 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:56:27 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:56:27 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 17:58:06 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (6.9ms) Completed 200 OK in 63ms (Views: 57.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:58:06 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:58:06 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:58:06 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:58:06 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:58:06 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:58:06 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:58:06 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:58:06 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 17:58:37 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.7ms) Completed 200 OK in 42ms (Views: 37.7ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:58:37 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:58:37 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:58:37 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:58:37 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:58:37 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:58:37 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:58:37 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:58:37 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new?reply_to_id=54b1ae024e656935441a0000" for ::1 at 2015-01-10 17:58:39 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1ae024e656935441a0000", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (9.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (12.7ms) Completed 200 OK in 48ms (Views: 43.7ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:58:39 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:58:39 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:58:39 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:58:39 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:58:39 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:58:39 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:58:39 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:58:39 -0500 Started POST "/forums/topics/54b1adfb4e65693544170000/posts" for ::1 at 2015-01-10 17:58:43 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"RQxfDokU1z0HG7WWcArcv+0cP+mbr9f/SNlRLk0N03N8f9CXRC6Zjm1mQFsfNMrEvtqyGO+at+Z5riJ9wz42kg==", "post"=>{"text"=>"this is a reply", "reply_to_id"=>"54b1ae024e656935441a0000"}, "commit"=>"Create Reply", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b1aea34e656935441c0000'), "text"=>"this is a reply", "topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "updated_at"=>2015-01-10 22:58:43 UTC, "created_at"=>2015-01-10 22:58:43 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5430ms Redirected to http://localhost:3000/forums/topics/54b1adfb4e65693544170000 Completed 302 Found in 7ms Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 17:58:43 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (6.3ms) Completed 200 OK in 33ms (Views: 30.4ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:58:43 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:58:43 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:58:43 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:58:43 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:58:43 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:58:43 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:58:43 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:58:43 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 17:58:44 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.8ms) Completed 200 OK in 44ms (Views: 40.7ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:58:44 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:58:44 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:58:44 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 17:58:44 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 17:58:44 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 17:58:44 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:58:44 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 17:58:44 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 18:00:35 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (6.7ms) Completed 200 OK in 56ms (Views: 30.3ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:00:35 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:00:35 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:00:35 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:00:35 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:00:35 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:00:35 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:00:35 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:00:35 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 18:06:26 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (5.9ms) Completed 200 OK in 69ms (Views: 40.1ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:06:26 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:06:26 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:06:26 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:06:26 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:06:26 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:06:26 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:06:26 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:06:26 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new?reply_to_id=54b1ae024e656935441a0000" for ::1 at 2015-01-10 18:06:28 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1ae024e656935441a0000", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (5.6ms) Completed 200 OK in 41ms (Views: 38.3ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:06:28 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:06:28 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:06:28 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:06:28 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:06:28 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:06:28 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:06:28 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:06:28 -0500 Started POST "/forums/topics/54b1adfb4e65693544170000/posts" for ::1 at 2015-01-10 18:06:33 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"gR+n9fEMqHaH9Ivw8F86pezgBwbi8/LHcMnlF+dWjbO4bChsPDbmxe2Jfj2fYSzevyaK95bGkt5BvpZEaWVoUg==", "post"=>{"text"=>"this is a reply", "reply_to_id"=>"54b1ae024e656935441a0000"}, "commit"=>"Create Reply", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b1b0794e656935441e0000'), "text"=>"this is a reply", "topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "reply_to_id"=>nil, "updated_at"=>2015-01-10 23:06:33 UTC, "created_at"=>2015-01-10 23:06:33 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6020ms Redirected to http://localhost:3000/forums/topics/54b1adfb4e65693544170000 Completed 302 Found in 8ms Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 18:06:33 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (6.8ms) Completed 200 OK in 38ms (Views: 35.3ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:06:33 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:06:33 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:06:33 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:06:33 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:06:33 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:06:33 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:06:33 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:06:33 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 18:06:34 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.8ms) Completed 200 OK in 33ms (Views: 30.3ms) Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:06:34 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:06:34 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:06:34 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:06:34 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:06:34 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:06:34 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:06:34 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:06:34 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 18:06:34 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (6.1ms) Completed 200 OK in 40ms (Views: 36.6ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:06:34 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:06:34 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:06:34 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:06:34 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:06:34 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:06:35 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:06:35 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:06:35 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 18:07:14 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.8ms) Completed 200 OK in 72ms (Views: 42.6ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:07:14 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:07:14 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:07:14 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:07:14 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:07:14 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:07:14 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:07:14 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:07:14 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new?reply_to_id=54b1b0794e656935441e0000" for ::1 at 2015-01-10 18:07:16 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1b0794e656935441e0000", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (6.4ms) Completed 200 OK in 46ms (Views: 40.1ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:07:16 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:07:16 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:07:16 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:07:16 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:07:16 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:07:16 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:07:16 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:07:16 -0500 Started POST "/forums/topics/54b1adfb4e65693544170000/posts" for ::1 at 2015-01-10 18:07:18 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"HQxnCi2Z5bff3c1168Dfh+9W5ftEXUVFl9pD1YyyASskf+iT4KOrBLWgOLiE/sn8vJBoCjBoJVymrTCGAoHkyg==", "post"=>{"text"=>"reply", "reply_to_id"=>"54b1b0794e656935441e0000"}, "commit"=>"Create Reply", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b1b0a64e65693544200000'), "text"=>"reply", "topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "reply_to_id"=>nil, "updated_at"=>2015-01-10 23:07:18 UTC, "created_at"=>2015-01-10 23:07:18 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.3390ms Redirected to http://localhost:3000/forums/topics/54b1adfb4e65693544170000 Completed 302 Found in 8ms Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 18:07:18 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.2ms) Completed 200 OK in 35ms (Views: 31.4ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:07:18 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:07:18 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:07:18 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:07:18 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:07:18 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:07:18 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:07:18 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:07:18 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 18:07:19 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3060ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (10.6ms) Completed 200 OK in 42ms (Views: 38.8ms) Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:07:19 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:07:19 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:07:19 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:07:19 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:07:19 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:07:19 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:07:19 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:07:19 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 18:08:22 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4360ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (12.4ms) Completed 200 OK in 64ms (Views: 39.5ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:08:22 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:08:22 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:08:22 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:08:22 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:08:22 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:08:22 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:08:22 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:08:22 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new?reply_to_id=54b1b0a64e65693544200000" for ::1 at 2015-01-10 18:08:23 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1b0a64e65693544200000", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8990ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (4.6ms) Completed 200 OK in 64ms (Views: 58.1ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:08:23 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:08:24 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:08:24 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:08:24 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:08:24 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:08:24 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:08:24 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:08:24 -0500 Started POST "/forums/topics/54b1adfb4e65693544170000/posts" for ::1 at 2015-01-10 18:08:25 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"xBVtYlTI5gaPpFDuxl1wOSfbBPfGxGrlGtBIcesjM1v9ZuL7mfKoteXZpSOpY2ZCdB2JBrLxCvwrpzsiZRDWug==", "post"=>{"text"=>"sdfsdf", "reply_to_id"=>"54b1b0a64e65693544200000"}, "commit"=>"Create Reply", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2900ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b1b0e94e65693544220000'), "text"=>"sdfsdf", "topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "reply_to_id"=>nil, "updated_at"=>2015-01-10 23:08:25 UTC, "created_at"=>2015-01-10 23:08:25 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4900ms Redirected to http://localhost:3000/forums/topics/54b1adfb4e65693544170000 Completed 302 Found in 7ms Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 18:08:25 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6050ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (11.6ms) Completed 200 OK in 42ms (Views: 37.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:08:25 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:08:25 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:08:25 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:08:25 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:08:25 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:08:25 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:08:25 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:08:25 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 18:08:26 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.8ms) Completed 200 OK in 46ms (Views: 42.1ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:08:26 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:08:26 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:08:26 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:08:26 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:08:26 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:08:26 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:08:26 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:08:26 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new?reply_to_id=54b1b0e94e65693544220000" for ::1 at 2015-01-10 18:08:49 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1b0e94e65693544220000", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (4.0ms) Completed 200 OK in 58ms (Views: 34.3ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:08:49 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:08:49 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:08:49 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:08:49 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:08:49 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:08:49 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:08:49 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:08:49 -0500 Started POST "/forums/topics/54b1adfb4e65693544170000/posts" for ::1 at 2015-01-10 18:08:51 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Bch8sJbMOg0Gd6Pv8AKS2Mdw88105WiK2f+kR/eitfE8u/MpW/Z0vmwKViKfPISjlLZ+PADQCJPoiNcUeZFQEA==", "post"=>{"text"=>"dfdsf", "reply_to_id"=>"54b1b0e94e65693544220000"}, "commit"=>"Create Reply", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b1b1034e65693544240000'), "text"=>"dfdsf", "topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "reply_to_id"=>nil, "updated_at"=>2015-01-10 23:08:51 UTC, "created_at"=>2015-01-10 23:08:51 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5780ms Redirected to http://localhost:3000/forums/topics/54b1adfb4e65693544170000 Completed 302 Found in 9ms Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 18:08:51 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3060ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (12.6ms) Completed 200 OK in 49ms (Views: 45.6ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:08:51 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:08:51 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:08:51 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:08:51 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:08:51 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:08:51 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:08:51 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:08:51 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 18:09:18 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (12.3ms) Completed 200 OK in 98ms (Views: 41.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:09:18 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:09:18 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:09:18 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:09:18 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:09:18 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:09:18 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:09:18 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:09:18 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new?reply_to_id=54b1b1034e65693544240000" for ::1 at 2015-01-10 18:09:20 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1b1034e65693544240000", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.8960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (4.9ms) Completed 200 OK in 42ms (Views: 35.4ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:09:20 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:09:20 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:09:20 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:09:20 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:09:20 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:09:20 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:09:20 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:09:20 -0500 Started POST "/forums/topics/54b1adfb4e65693544170000/posts" for ::1 at 2015-01-10 18:09:22 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"efAvewQjIUHj8ACXyZ6WyLvg54R4HEztzwocPs1tW6lAg6DiyRlv8omN9VqmoICz6CZqdQwpLPT+fW9tQ16+SA==", "post"=>{"text"=>"sdfsdf", "reply_to_id"=>"54b1b1034e65693544240000"}, "commit"=>"Create Reply", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2930ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b1b1224e65693544260000'), "text"=>"sdfsdf", "topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "reply_to_id"=>BSON::ObjectId('54b1b1034e65693544240000'), "updated_at"=>2015-01-10 23:09:22 UTC, "created_at"=>2015-01-10 23:09:22 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4890ms Redirected to http://localhost:3000/forums/topics/54b1adfb4e65693544170000 Completed 302 Found in 6ms Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 18:09:22 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1b1034e65693544240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1b1034e65693544240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3130ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (16.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (17.6ms) Completed 200 OK in 47ms (Views: 42.5ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:09:22 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:09:22 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:09:22 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:09:22 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:09:22 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:09:22 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:09:22 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:09:22 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 18:09:46 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.6ms) Completed 200 OK in 44ms (Views: 40.1ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:09:47 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:09:47 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:09:47 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:09:47 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:09:47 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:09:47 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:09:47 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:09:47 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 18:09:53 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (6.6ms) Completed 200 OK in 37ms (Views: 33.9ms) Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:09:53 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:09:53 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:09:53 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:09:53 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:09:53 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:09:53 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:09:53 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:09:53 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new?reply_to_id=54b1ae024e656935441a0000" for ::1 at 2015-01-10 18:09:54 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1ae024e656935441a0000", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6190ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (4.0ms) Completed 200 OK in 33ms (Views: 29.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:09:54 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:09:54 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:09:54 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:09:54 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:09:54 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:09:54 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:09:54 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:09:54 -0500 Started POST "/forums/topics/54b1adfb4e65693544170000/posts" for ::1 at 2015-01-10 18:09:59 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"yGLtS0detmEM+t3fBC0j/hUmN1c9QilOcqPbFffXacvxEWLSimT40maHKBJrEzWFRuC6pkl3SVdD1KhGeeSMKg==", "post"=>{"text"=>"this is a reply", "reply_to_id"=>"54b1ae024e656935441a0000"}, "commit"=>"Create Reply", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b1b1474e65693544280000'), "text"=>"this is a reply", "topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "reply_to_id"=>BSON::ObjectId('54b1ae024e656935441a0000'), "updated_at"=>2015-01-10 23:09:59 UTC, "created_at"=>2015-01-10 23:09:59 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5730ms Redirected to http://localhost:3000/forums/topics/54b1adfb4e65693544170000 Completed 302 Found in 10ms Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 18:09:59 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5410ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (9.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (11.6ms) Completed 200 OK in 44ms (Views: 40.8ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:09:59 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:09:59 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:09:59 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:09:59 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:09:59 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:09:59 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:09:59 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:09:59 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 18:10:00 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (10.4ms) Completed 200 OK in 36ms (Views: 33.3ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:10:00 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:10:00 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:10:00 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:10:00 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:10:00 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:10:00 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:10:00 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:10:00 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new?reply_to_id=54b1b1474e65693544280000" for ::1 at 2015-01-10 18:10:19 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1b1474e65693544280000", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (2.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (7.0ms) Completed 200 OK in 40ms (Views: 37.2ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:10:19 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:10:19 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:10:19 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:10:19 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:10:19 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:10:19 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:10:19 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:10:19 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new?reply_to_id=54b1b1474e65693544280000" for ::1 at 2015-01-10 18:11:19 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1b1474e65693544280000", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (14.5ms) Completed 500 Internal Server Error in 22ms ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::Post): 1: %h1 New Post 2: - if params[:reply_to_id] 3: - replying_to = Post.find(params[:reply_to_id]) 4: Replying to 5: = replying_to.user 6: %br /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts_new_haml__4389262637203388628_70223087954680' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (28.2ms) Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 18:11:22 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.8ms) Completed 200 OK in 36ms (Views: 33.2ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:11:22 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:11:22 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:11:22 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:11:22 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:11:22 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:11:22 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:11:22 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:11:22 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new?reply_to_id=54b1b1474e65693544280000" for ::1 at 2015-01-10 18:11:23 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1b1474e65693544280000", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (2.0ms) Completed 500 Internal Server Error in 7ms ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::Post): 1: %h1 New Post 2: - if params[:reply_to_id] 3: - replying_to = Post.find(params[:reply_to_id]) 4: Replying to 5: = replying_to.user 6: %br /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts_new_haml__4389262637203388628_70223087954680' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.1ms) Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new?reply_to_id=54b1b1474e65693544280000" for ::1 at 2015-01-10 18:11:37 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1b1474e65693544280000", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1b1474e65693544280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (8.0ms) Completed 200 OK in 29ms (Views: 27.0ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:11:37 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:11:37 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:11:37 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:11:37 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:11:37 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:11:37 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:11:37 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:11:37 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new?reply_to_id=54b1b1474e65693544280000" for ::1 at 2015-01-10 18:11:45 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1b1474e65693544280000", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1b1474e65693544280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (9.0ms) Completed 200 OK in 35ms (Views: 29.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:11:45 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:11:45 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:11:45 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:11:45 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:11:45 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:11:45 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:11:45 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:11:45 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new?reply_to_id=54b1b1474e65693544280000" for ::1 at 2015-01-10 18:11:51 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1b1474e65693544280000", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1b1474e65693544280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (8.5ms) Completed 200 OK in 38ms (Views: 34.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:11:51 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:11:51 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:11:51 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:11:51 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:11:51 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:11:51 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:11:51 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:11:51 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new?reply_to_id=54b1b1474e65693544280000" for ::1 at 2015-01-10 18:11:55 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1b1474e65693544280000", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1b1474e65693544280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (11.6ms) Completed 200 OK in 71ms (Views: 67.3ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:11:55 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:11:55 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:11:55 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:11:55 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:11:55 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:11:55 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:11:55 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:11:55 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new?reply_to_id=54b1b1474e65693544280000" for ::1 at 2015-01-10 18:11:59 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1b1474e65693544280000", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1b1474e65693544280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (7.8ms) Completed 200 OK in 38ms (Views: 35.2ms) Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:11:59 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:11:59 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:11:59 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:11:59 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:11:59 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:11:59 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:11:59 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:11:59 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 18:12:01 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5520ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (12.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (16.1ms) Completed 200 OK in 50ms (Views: 45.7ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:12:01 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:12:01 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:12:01 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:12:01 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:12:01 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:12:01 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:12:01 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:12:01 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new" for ::1 at 2015-01-10 18:12:01 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (5.5ms) Completed 200 OK in 35ms (Views: 31.2ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:12:01 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:12:01 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:12:01 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:12:01 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:12:01 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:12:01 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:12:01 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:12:01 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new?reply_to_id=54b1b1474e65693544280000" for ::1 at 2015-01-10 18:12:04 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1b1474e65693544280000", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1b1474e65693544280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5820ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (9.2ms) Completed 200 OK in 45ms (Views: 41.3ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:12:04 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:12:04 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:12:04 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:12:04 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:12:04 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:12:04 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:12:04 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:12:04 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new?reply_to_id=54b1b1474e65693544280000" for ::1 at 2015-01-10 18:12:49 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1b1474e65693544280000", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1b1474e65693544280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (8.5ms) Completed 200 OK in 72ms (Views: 39.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:12:49 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:12:50 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:12:50 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:12:50 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:12:50 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:12:50 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:12:50 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:12:50 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 18:12:52 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (10.5ms) Completed 200 OK in 44ms (Views: 38.5ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:12:52 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:12:52 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:12:52 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:12:52 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:12:52 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:12:52 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:12:52 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:12:52 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 18:13:08 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4160ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (10.4ms) Completed 200 OK in 62ms (Views: 35.6ms) Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:13:08 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:13:08 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:13:08 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:13:08 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:13:08 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:13:08 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:13:08 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:13:08 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new?reply_to_id=54b1ae024e656935441a0000" for ::1 at 2015-01-10 18:15:17 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1ae024e656935441a0000", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6010ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (7.3ms) Completed 200 OK in 37ms (Views: 32.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:15:17 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:15:17 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:15:17 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:15:17 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:15:17 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:15:17 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:15:17 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:15:17 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 18:15:20 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3360ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (10.2ms) Completed 200 OK in 35ms (Views: 31.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:15:20 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:15:20 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:15:20 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:15:20 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:15:20 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:15:20 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:15:20 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:15:20 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new?reply_to_id=54b1b1034e65693544240000" for ::1 at 2015-01-10 18:15:23 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1b1034e65693544240000", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1b1034e65693544240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3980ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (2.8ms) Completed 500 Internal Server Error in 10ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Post with id(s) 54b1b1034e65693544240000. Summary: When calling MongoidForums::Post.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): 54b1b1034e65693544240000 ... (1 total) and the following ids were not found: 54b1b1034e65693544240000. Resolution: Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.): mongoid (4.0.0) lib/mongoid/criteria.rb:475:in `check_for_missing_documents!' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:20:in `execute_or_raise' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:40:in `find' mongoid (4.0.0) lib/mongoid/findable.rb:90:in `find' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts_new_haml__4389262637203388628_70223122323640' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (33.2ms) Started GET "/forums" for ::1 at 2015-01-10 18:15:26 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (17.6ms) Completed 200 OK in 51ms (Views: 50.6ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:15:26 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:15:26 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:15:26 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:15:26 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:15:26 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:15:26 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:15:26 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:15:26 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 18:15:29 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (8.1ms) Completed 200 OK in 41ms (Views: 38.3ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:15:29 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:15:29 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:15:29 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:15:29 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:15:29 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:15:29 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:15:29 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:15:29 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 18:20:47 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.2ms) Completed 200 OK in 43ms (Views: 39.0ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:20:47 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:20:47 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:20:47 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:20:47 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:20:47 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:20:47 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:20:47 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:20:47 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 18:28:06 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (8.5ms) Completed 200 OK in 106ms (Views: 102.1ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:28:06 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:28:06 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:28:06 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:28:06 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:28:06 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:28:06 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:28:06 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:28:06 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 18:28:08 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4460ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.4ms) Completed 200 OK in 40ms (Views: 36.5ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:28:08 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:28:08 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:28:08 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:28:08 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:28:08 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:28:08 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:28:08 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:28:08 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 18:40:00 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 42.0200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3450ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (25.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (38.2ms) Completed 200 OK in 191ms (Views: 121.7ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:40:00 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:40:00 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:40:00 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:40:00 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:40:00 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:40:00 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:40:00 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:40:00 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 18:40:39 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.9000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (11.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (12.5ms) Completed 200 OK in 49ms (Views: 44.9ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:40:39 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:40:39 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:40:39 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:40:39 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:40:39 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:40:39 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:40:39 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:40:39 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 18:45:28 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.7ms) Completed 200 OK in 45ms (Views: 42.1ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:45:28 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:45:28 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:45:28 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:45:28 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:45:28 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:45:28 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:45:28 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:45:28 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new" for ::1 at 2015-01-10 18:45:33 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (14.3ms) Completed 200 OK in 60ms (Views: 54.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:45:33 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:45:33 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:45:33 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:45:33 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:45:33 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:45:33 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:45:33 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:45:33 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 18:47:09 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (8.6ms) Completed 200 OK in 45ms (Views: 34.6ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:47:09 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:47:09 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 18:47:09 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:47:09 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:47:09 -0500 Started GET "/assets/mongoid_forums/application-f9678d984a6f28bcc6fcd0355cdf11de.js?body=1" for ::1 at 2015-01-10 18:47:09 -0500 Started GET "/assets/mongoid_forums/application-a79795bdf488900b704146c146085315.css?body=1" for ::1 at 2015-01-10 18:47:09 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 18:47:09 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 19:55:55 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.6220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5870ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (38.6ms) Completed 200 OK in 229ms (Views: 158.6ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 19:55:56 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 19:55:56 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 19:55:56 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 19:55:56 -0500 Started GET "/assets/mongoid_forums/application-ad7089b0fa145002ba969a4d0542322a.css?body=1" for ::1 at 2015-01-10 19:55:56 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 19:55:56 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 19:55:56 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 19:55:56 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 19:55:56 -0500 Started GET "/assets/mongoid_forums/application-878700eb859c4552d81fb62aeddb6ceb.js?body=1" for ::1 at 2015-01-10 19:55:56 -0500 Started GET "/admin" for ::1 at 2015-01-10 19:56:00 -0500 ActionController::RoutingError (No route matches [GET] "/admin"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (59.2ms) Started GET "/forums/admin" for ::1 at 2015-01-10 19:56:05 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/base/index.html.erb within layouts/mongoid_forums/application (0.4ms) Completed 200 OK in 39ms (Views: 38.7ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 19:56:05 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 19:56:05 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 19:56:05 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 19:56:05 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 19:56:05 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 19:56:05 -0500 Started GET "/forums/admin" for ::1 at 2015-01-10 19:59:50 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (14.0ms) Completed 500 Internal Server Error in 25ms ActionView::Template::Error (undefined local variable or method `new_admin_category_path' for #<#:0x007f962badac28>): 1: %h1 2: Admin Dashboard 3: 4: =link_to "Create a category", new_admin_category_path 5: =link_to "Create a forum", new_admin_forum_path /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml:4:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_admin_base_index_haml__3071354131214140808_70141477296960' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (39.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (65.6ms) Started GET "/forums/admin" for ::1 at 2015-01-10 20:08:08 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"admin"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>"admin"} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms Completed 404 Not Found in 14ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) admin. Summary: When calling MongoidForums::Forum.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): admin ... (1 total) and the following ids were not found: admin. Resolution: Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.): mongoid (4.0.0) lib/mongoid/criteria.rb:475:in `check_for_missing_documents!' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:20:in `execute_or_raise' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:40:in `find' mongoid (4.0.0) lib/mongoid/findable.rb:90:in `find' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:10:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (22.1ms) Started GET "/forums/admin" for ::1 at 2015-01-10 20:08:52 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (14.2ms) Completed 500 Internal Server Error in 72ms ActionView::Template::Error (undefined local variable or method `admin_categories_new_path' for #<#:0x007f9302bd17c0>): 1: %h1 Admin Dashboard 2: 3: =link_to "New category", admin_categories_new_path 4: =link_to "New forum", admin_forums_new_path /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_admin_base_index_haml__3953119237734540096_70134717335940' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (19.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (37.8ms) Started GET "/forums/admin" for ::1 at 2015-01-10 20:10:42 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (12.4ms) Completed 500 Internal Server Error in 63ms ActionView::Template::Error (undefined local variable or method `admin_categories_new_path' for #<#:0x007feb31a79558>): 1: %h1 Admin Dashboard 2: 3: =link_to "New category", admin_categories_new_path 4: =link_to "New forum", admin_forums_new_path /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_admin_base_index_haml___4197632105571349747_70324101237260' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (17.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (36.1ms) Started GET "/forums/admin" for ::1 at 2015-01-10 20:11:14 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (9.6ms) Completed 500 Internal Server Error in 22ms ActionView::Template::Error (undefined local variable or method `admin_categories_new_path' for #<#:0x007feb33a19f70>): 1: %h1 Admin Dashboard 2: 3: =link_to "New category", admin_categories_new_path 4: =link_to "New forum", admin_forums_new_path /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_admin_base_index_haml___4197632105571349747_70324101237260' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (28.4ms) Started GET "/forums/admin" for ::1 at 2015-01-10 20:11:53 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (11.7ms) Completed 500 Internal Server Error in 15ms ActionView::Template::Error (undefined local variable or method `new_admin_forum' for #<#:0x007feb361dad70>): 1: %h1 Admin Dashboard 2: 3: =link_to "New category", new_admin_forum 4: =link_to "New forum", new_admin_category /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_admin_base_index_haml___4197632105571349747_70324100964160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.5ms) Started GET "/forums/admin" for ::1 at 2015-01-10 20:11:54 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (11.3ms) Completed 500 Internal Server Error in 14ms ActionView::Template::Error (undefined local variable or method `new_admin_forum' for #<#:0x007feb32912718>): 1: %h1 Admin Dashboard 2: 3: =link_to "New category", new_admin_forum 4: =link_to "New forum", new_admin_category /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_admin_base_index_haml___4197632105571349747_70324100964160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.5ms) Started GET "/forums/admin" for ::1 at 2015-01-10 20:11:54 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (7.4ms) Completed 500 Internal Server Error in 10ms ActionView::Template::Error (undefined local variable or method `new_admin_forum' for #<#:0x007feb33c0abb8>): 1: %h1 Admin Dashboard 2: 3: =link_to "New category", new_admin_forum 4: =link_to "New forum", new_admin_category /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_admin_base_index_haml___4197632105571349747_70324100964160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.0ms) Started GET "/forums/admin" for ::1 at 2015-01-10 20:11:55 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (7.1ms) Completed 500 Internal Server Error in 10ms ActionView::Template::Error (undefined local variable or method `new_admin_forum' for #<#:0x007feb33a51150>): 1: %h1 Admin Dashboard 2: 3: =link_to "New category", new_admin_forum 4: =link_to "New forum", new_admin_category /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_admin_base_index_haml___4197632105571349747_70324100964160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.8ms) Started GET "/forums/admin" for ::1 at 2015-01-10 20:12:01 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (1.8ms) Completed 200 OK in 143ms (Views: 142.8ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:12:01 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:12:02 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:12:02 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:12:02 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:12:02 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:12:02 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:12:02 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:12:02 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:12:02 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:12:02 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:12:02 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:12:02 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:12:02 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:12:02 -0500 Started GET "/forums/admin/categories/new" for ::1 at 2015-01-10 20:12:03 -0500 ActionController::RoutingError (uninitialized constant MongoidForums::BaseController): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:4:in `' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:3:in `' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (83.2ms) Started GET "/forums/admin/categories/new" for ::1 at 2015-01-10 20:13:02 -0500 Processing by MongoidForums::Admin::CategoriesController#new as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/categories/new.html.erb within layouts/mongoid_forums/application (0.4ms) Completed 200 OK in 46ms (Views: 39.9ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:13:02 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:13:02 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:13:02 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:13:02 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:13:02 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:13:02 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:13:02 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:13:02 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:13:02 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:13:02 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:13:03 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:13:03 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:13:03 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:13:03 -0500 Started GET "/forums/admin/forums/new" for ::1 at 2015-01-10 20:13:06 -0500 Processing by MongoidForums::Admin::ForumsController#new as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/forums/new.html.erb within layouts/mongoid_forums/application (0.4ms) Completed 200 OK in 69ms (Views: 68.3ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:13:06 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:13:06 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:13:06 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:13:06 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:13:06 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:13:06 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:13:06 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:13:06 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:13:06 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:13:06 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:13:06 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:13:06 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:13:06 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:13:06 -0500 Started GET "/forums/admin/forums/new" for ::1 at 2015-01-10 20:14:16 -0500 Processing by MongoidForums::Admin::ForumsController#new as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/forums/new.html.erb within layouts/mongoid_forums/application (0.1ms) Completed 200 OK in 92ms (Views: 86.4ms) Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:14:16 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:14:16 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:14:16 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:14:16 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:14:16 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:14:16 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:14:16 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:14:16 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:14:16 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:14:16 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:14:16 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:14:16 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:14:16 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:14:16 -0500 Started GET "/forums/admin/forums/new" for ::1 at 2015-01-10 20:14:19 -0500 Processing by MongoidForums::Admin::ForumsController#new as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/forums/new.html.erb within layouts/mongoid_forums/application (0.1ms) Completed 200 OK in 44ms (Views: 39.2ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:14:20 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:14:20 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:14:20 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:14:20 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:14:20 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:14:20 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:14:20 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:14:20 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:14:20 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:14:20 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:14:20 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:14:20 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:14:20 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:14:20 -0500 Started GET "/forums/admin/forums/new" for ::1 at 2015-01-10 20:14:20 -0500 Processing by MongoidForums::Admin::ForumsController#new as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/forums/new.html.erb within layouts/mongoid_forums/application (0.1ms) Completed 200 OK in 40ms (Views: 39.9ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:14:20 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:14:20 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:14:20 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:14:20 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:14:20 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:14:20 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:14:20 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:14:20 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:14:20 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:14:20 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:14:20 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:14:20 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:14:20 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:14:20 -0500 Started GET "/forums/admin/forums/new" for ::1 at 2015-01-10 20:15:18 -0500 Processing by MongoidForums::Admin::ForumsController#new as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/forums/new.html.erb within layouts/mongoid_forums/application (0.1ms) Completed 200 OK in 46ms (Views: 40.4ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:15:18 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:15:18 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:15:18 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:15:18 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:15:18 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:15:18 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:15:18 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:15:18 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:15:18 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:15:18 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:15:18 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:15:18 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:15:18 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:15:18 -0500 Started GET "/forums/admin/forums/new" for ::1 at 2015-01-10 20:15:43 -0500 Processing by MongoidForums::Admin::ForumsController#new as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/forums/new.html.erb within layouts/mongoid_forums/application (0.1ms) Completed 200 OK in 48ms (Views: 48.1ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:15:43 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:15:43 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:15:43 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:15:43 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:15:43 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:15:43 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:15:43 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:15:43 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:15:43 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:15:43 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:15:43 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:15:43 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:15:43 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:15:43 -0500 Started GET "/forums/admin/categories/new" for ::1 at 2015-01-10 20:15:47 -0500 Processing by MongoidForums::Admin::CategoriesController#new as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/categories/new.haml within layouts/mongoid_forums/application (82.9ms) Completed 200 OK in 125ms (Views: 124.5ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:15:47 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:15:47 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:15:47 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:15:47 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:15:47 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:15:47 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:15:47 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:15:47 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:15:47 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:15:47 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:15:47 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:15:47 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:15:47 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:15:47 -0500 Started GET "/forums/admin/categories/new" for ::1 at 2015-01-10 20:16:14 -0500 Processing by MongoidForums::Admin::CategoriesController#new as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/categories/new.haml within layouts/mongoid_forums/application (5.0ms) Completed 200 OK in 48ms (Views: 47.3ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:16:14 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:16:14 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:16:14 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:16:14 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:16:14 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:16:14 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:16:14 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:16:14 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:16:14 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:16:14 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:16:14 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:16:14 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:16:14 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:16:14 -0500 Started POST "/forums/categories" for ::1 at 2015-01-10 20:16:19 -0500 ActionController::RoutingError (uninitialized constant MongoidForums::CategoriesController): activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (79.5ms) Started GET "/forums/admin/categories/new" for ::1 at 2015-01-10 20:16:41 -0500 Processing by MongoidForums::Admin::CategoriesController#new as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/categories/new.haml within layouts/mongoid_forums/application (4.3ms) Completed 200 OK in 44ms (Views: 43.6ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:16:42 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:16:42 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:16:42 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:16:42 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:16:42 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:16:42 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:16:42 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:16:42 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:16:42 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:16:42 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:16:42 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:16:42 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:16:42 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:16:42 -0500 Started POST "/forums/admin/categories" for ::1 at 2015-01-10 20:16:43 -0500 Processing by MongoidForums::Admin::CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"jtMmCyLLJTkZjsr+/6zsAfbL1Esd850ezInyu3O7xOO3oKmS7/FrinPzPzOQkvp6pQ1ZumnG/Qf9/oHo/YghAg==", "category"=>{"name"=>"sdf"}, "commit"=>"Create Category"} Completed 500 Internal Server Error in 3ms ActionView::MissingTemplate (Missing template mongoid_forums/admin/categories/create, mongoid_forums/admin/base/create, mongoid_forums/application/create with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Business/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Business/mongoid_forums/app/views" * "/Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views" ): actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (21.7ms) Started GET "/forums/admin/categories/new" for ::1 at 2015-01-10 20:18:27 -0500 Processing by MongoidForums::Admin::CategoriesController#new as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/categories/new.haml within layouts/mongoid_forums/application (4.0ms) Completed 200 OK in 50ms (Views: 44.0ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:18:27 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:18:27 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:18:27 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:18:27 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:18:27 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:18:27 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:18:27 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:18:27 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:18:27 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:18:27 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:18:27 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:18:27 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:18:27 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:18:27 -0500 Started POST "/forums/admin/categories" for ::1 at 2015-01-10 20:18:29 -0500 Processing by MongoidForums::Admin::CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"G+F/UUz7NLeOdXHWI6qz+RA3oju5/iL1WQcKwhV7z7kikvDIgcF6BOQIhBtMlKWCQ/Evys3LQuxocHmRm0gqWA==", "category"=>{"name"=>"sfd"}, "commit"=>"Create Category"} Completed 500 Internal Server Error in 0ms NoMethodError (undefined method `save' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:11:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (17.2ms) Started GET "/forums/admin/categories/new" for ::1 at 2015-01-10 20:18:56 -0500 Processing by MongoidForums::Admin::CategoriesController#new as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/categories/new.haml within layouts/mongoid_forums/application (1.2ms) Completed 500 Internal Server Error in 15ms ActionView::Template::Error (undefined method `model_name' for nil:NilClass): 1: = simple_form_for [:admin, @category] do |f| 2: = f.input :name 3: = f.submit actionpack (4.2.0) lib/action_controller/model_naming.rb:9:in `model_name_from_record_or_class' actionview (4.2.0) lib/action_view/record_identifier.rb:47:in `dom_class' simple_form (3.0.3) lib/simple_form/action_view_extensions/form_helper.rb:58:in `simple_form_css_class' simple_form (3.0.3) lib/simple_form/action_view_extensions/form_helper.rb:19:in `simple_form_for' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/categories/new.haml:1:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_admin_categories_new_haml__1924303897863281805_70324072458580' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (26.4ms) Started GET "/forums/admin/categories/new" for ::1 at 2015-01-10 20:18:59 -0500 Processing by MongoidForums::Admin::CategoriesController#new as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/categories/new.haml within layouts/mongoid_forums/application (4.0ms) Completed 200 OK in 50ms (Views: 43.0ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:19:00 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:19:00 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:19:00 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:19:00 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:19:00 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:19:00 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:19:00 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:19:00 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:19:00 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:19:00 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:19:00 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:19:00 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:19:00 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:19:00 -0500 Started GET "/forums/admin/categories/new" for ::1 at 2015-01-10 20:19:50 -0500 Processing by MongoidForums::Admin::CategoriesController#new as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/categories/new.haml within layouts/mongoid_forums/application (4.6ms) Completed 200 OK in 46ms (Views: 45.5ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:19:50 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:19:50 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:19:50 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:19:50 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:19:50 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:19:50 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:19:50 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:19:50 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:19:50 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:19:50 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:19:50 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:19:50 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:19:50 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:19:50 -0500 Started POST "/forums/admin/categories" for ::1 at 2015-01-10 20:19:53 -0500 Processing by MongoidForums::Admin::CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"RFOuaYjhBYMxWTEr6EMAGwh62YF2lGRw3F+6AxuvrLl9ICHwRdtLMFskxOaHfRZgW7xUcAKhBGntKMlQlZxJWA==", "category"=>{"name"=>"sfd"}, "commit"=>"Create Category"} Completed 500 Internal Server Error in 1ms NoMethodError (undefined method `save' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:11:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (26.5ms) Started GET "/forums/admin/categories/new" for ::1 at 2015-01-10 20:21:11 -0500 Processing by MongoidForums::Admin::CategoriesController#new as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/categories/new.haml within layouts/mongoid_forums/application (15.3ms) Completed 500 Internal Server Error in 19ms ActionView::Template::Error (undefined method `Create Category' for #): 1: = simple_form_for [:admin, @category] do |f| 2: = f.input :name 3: = f.button "Create Category", :class => "btn", :disable_with => "Creating..." simple_form (3.0.3) lib/simple_form/form_builder.rb:233:in `button' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/categories/new.haml:3:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_admin_categories_new_haml__1924303897863281805_70324121753900' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `call' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml' haml (4.0.6) lib/haml/helpers.rb:278:in `with_tabs' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss' simple_form (3.0.3) lib/simple_form/action_view_extensions/form_helper.rb:22:in `block in simple_form_for' simple_form (3.0.3) lib/simple_form/action_view_extensions/form_helper.rb:41:in `with_simple_form_field_error_proc' simple_form (3.0.3) lib/simple_form/action_view_extensions/form_helper.rb:21:in `simple_form_for' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/categories/new.haml:1:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_admin_categories_new_haml__1924303897863281805_70324121753900' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.1ms) Started GET "/forums/admin/categories/new" for ::1 at 2015-01-10 20:21:33 -0500 Processing by MongoidForums::Admin::CategoriesController#new as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/categories/new.haml within layouts/mongoid_forums/application (3.6ms) Completed 200 OK in 53ms (Views: 52.4ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:21:34 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:21:34 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:21:34 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:21:34 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:21:34 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:21:34 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:21:34 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:21:34 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:21:34 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:21:34 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:21:34 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:21:34 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:21:34 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:21:34 -0500 Started POST "/forums/admin/categories" for ::1 at 2015-01-10 20:21:36 -0500 Processing by MongoidForums::Admin::CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"U3bTCJTTF2BPwOtUHPm7dcbZ3MFjNUfMelS2iYxTkvBqBVyRWelZ0yW9Hplzx60OlR9RMBcAJ9VLI8XaAmB3EQ==", "category"=>{"name"=>"sfdsf"}, "commit"=>"Create Category"} Completed 500 Internal Server Error in 0ms NoMethodError (undefined method `save' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:11:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (27.0ms) Started POST "/forums/admin/categories" for ::1 at 2015-01-10 20:22:25 -0500 Processing by MongoidForums::Admin::CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"U3bTCJTTF2BPwOtUHPm7dcbZ3MFjNUfMelS2iYxTkvBqBVyRWelZ0yW9Hplzx60OlR9RMBcAJ9VLI8XaAmB3EQ==", "category"=>{"name"=>"sfdsf"}, "commit"=>"Create Category"} Completed 500 Internal Server Error in 7ms NoMethodError (undefined method `each_pair' for "sfdsf":String): mongoid (4.0.0) lib/mongoid/attributes/processing.rb:23:in `process_attributes' mongoid (4.0.0) lib/mongoid/document.rb:110:in `block in initialize' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:84:in `_building' mongoid (4.0.0) lib/mongoid/document.rb:104:in `initialize' mongoid (4.0.0) lib/mongoid/persistable/creatable.rb:147:in `new' mongoid (4.0.0) lib/mongoid/persistable/creatable.rb:147:in `block in create' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:156:in `_creating' mongoid (4.0.0) lib/mongoid/persistable/creatable.rb:143:in `create' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:11:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (22.5ms) Started POST "/forums/admin/categories" for ::1 at 2015-01-10 20:22:36 -0500 Processing by MongoidForums::Admin::CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"U3bTCJTTF2BPwOtUHPm7dcbZ3MFjNUfMelS2iYxTkvBqBVyRWelZ0yW9Hplzx60OlR9RMBcAJ9VLI8XaAmB3EQ==", "category"=>{"name"=>"sfdsf"}, "commit"=>"Create Category"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2350ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_categories documents=[{"_id"=>BSON::ObjectId('54b1d05c4e656942f2010000'), "name"=>"sfdsf"}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5370ms Redirected to Completed 500 Internal Server Error in 28ms ActionController::ActionControllerError (Cannot redirect to nil!): actionpack (4.2.0) lib/action_controller/metal/redirecting.rb:70:in `redirect_to' actionpack (4.2.0) lib/action_controller/metal/flash.rb:57:in `redirect_to' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:61:in `block in redirect_to' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:60:in `redirect_to' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:13:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (15.2ms) Started GET "/forums/admin" for ::1 at 2015-01-10 20:22:39 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (2.2ms) Completed 200 OK in 64ms (Views: 63.9ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:22:39 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:22:39 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:22:39 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:22:39 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:22:39 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:22:39 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:22:39 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:22:39 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:22:39 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:22:39 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:22:39 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:22:39 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:22:39 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:22:39 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 20:22:40 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (18.9ms) Completed 200 OK in 78ms (Views: 68.4ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:22:40 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:22:40 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:22:40 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:22:40 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:22:40 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:22:40 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:22:40 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:22:40 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:22:40 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:22:40 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:22:40 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:22:40 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:22:40 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:22:40 -0500 Started GET "/forums" for ::1 at 2015-01-10 20:22:42 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (15.2ms) Completed 200 OK in 57ms (Views: 56.6ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:22:43 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:22:43 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:22:43 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:22:43 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:22:43 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:22:43 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:22:43 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:22:43 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:22:43 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:22:43 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:22:43 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:22:43 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:22:43 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:22:43 -0500 Started GET "/forums" for ::1 at 2015-01-10 20:22:43 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.6690ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (19.1ms) Completed 200 OK in 67ms (Views: 67.0ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:22:43 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:22:44 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:22:44 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:22:44 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:22:44 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:22:44 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:22:44 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:22:44 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:22:44 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:22:44 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:22:44 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:22:44 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:22:44 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:22:44 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 20:22:56 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7070ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (8.8ms) Completed 200 OK in 50ms (Views: 46.4ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:22:56 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:22:56 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:22:56 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:22:56 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:22:56 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:22:56 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:22:56 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:22:56 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:22:56 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:22:56 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:22:56 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:22:56 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:22:56 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:22:56 -0500 Started GET "/forums/admin" for ::1 at 2015-01-10 20:23:02 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (1.3ms) Completed 200 OK in 54ms (Views: 54.0ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:23:02 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:23:02 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:23:02 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:23:02 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:23:02 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:23:02 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:23:02 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:23:02 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:23:02 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:23:02 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:23:02 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:23:02 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:23:02 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:23:02 -0500 Started GET "/forums/admin/categories/new" for ::1 at 2015-01-10 20:23:05 -0500 Processing by MongoidForums::Admin::CategoriesController#new as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/categories/new.haml within layouts/mongoid_forums/application (6.2ms) Completed 200 OK in 47ms (Views: 46.7ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:23:05 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:23:05 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:23:05 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:23:05 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:23:05 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:23:05 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:23:05 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:23:05 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:23:05 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:23:05 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:23:05 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:23:05 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:23:05 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:23:05 -0500 Started POST "/forums/admin/categories" for ::1 at 2015-01-10 20:23:07 -0500 Processing by MongoidForums::Admin::CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZC6m6OvGg0t8HZjFVI7Iyv3z2zy2GkFH1UOVlTOGk39dXSlxJvzN+BZgbQg7sN6xrjVWzcIvIV7kNObGvbV2ng==", "category"=>{"name"=>"sdf"}, "commit"=>"Create Category"} MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_categories documents=[{"_id"=>BSON::ObjectId('54b1d07b4e656942f2020000'), "name"=>"sdf"}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8010ms Redirected to Completed 500 Internal Server Error in 3ms ActionController::ActionControllerError (Cannot redirect to nil!): actionpack (4.2.0) lib/action_controller/metal/redirecting.rb:70:in `redirect_to' actionpack (4.2.0) lib/action_controller/metal/flash.rb:57:in `redirect_to' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:61:in `block in redirect_to' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:60:in `redirect_to' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/categories_controller.rb:13:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (19.0ms) Started GET "/forums/admin/categories/new" for ::1 at 2015-01-10 20:23:23 -0500 Processing by MongoidForums::Admin::CategoriesController#new as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/categories/new.haml within layouts/mongoid_forums/application (5.0ms) Completed 200 OK in 55ms (Views: 47.5ms) Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:23:23 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:23:23 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:23:23 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:23:23 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:23:23 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:23:23 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:23:23 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:23:23 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:23:23 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:23:23 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:23:23 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:23:23 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:23:23 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:23:23 -0500 Started POST "/forums/admin/categories" for ::1 at 2015-01-10 20:23:26 -0500 Processing by MongoidForums::Admin::CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"I8RoPOOSucT0zsuyOY74is6oDR8pnOxx9LCri6P/MQ4at+elLqj3d56zPn9WsO7xnW6A7l2pjGjFx9jYLczU7w==", "category"=>{"name"=>"sdfdf"}, "commit"=>"Create Category"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4650ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_categories documents=[{"_id"=>BSON::ObjectId('54b1d08e4e656942f2030000'), "name"=>"sdfdf"}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6120ms Redirected to http://localhost:3000/forums/categories/54b1d08e4e656942f2030000 Completed 302 Found in 13ms Started GET "/forums/categories/54b1d08e4e656942f2030000" for ::1 at 2015-01-10 20:23:26 -0500 ActionController::RoutingError (uninitialized constant MongoidForums::CategoriesController): activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (78.1ms) Started GET "/forums/categories/54b1d08e4e656942f2030000" for ::1 at 2015-01-10 20:23:56 -0500 ActionController::RoutingError (uninitialized constant MongoidForums::CategoriesController): activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (65.1ms) Started GET "/forums/admin/categories/new" for ::1 at 2015-01-10 20:23:57 -0500 Processing by MongoidForums::Admin::CategoriesController#new as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/categories/new.haml within layouts/mongoid_forums/application (3.2ms) Completed 200 OK in 62ms (Views: 53.8ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:23:58 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:23:58 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:23:58 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:23:58 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:23:58 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:23:58 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:23:58 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:23:58 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:23:58 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:23:58 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:23:58 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:23:58 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:23:58 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:23:58 -0500 Started POST "/forums/admin/categories" for ::1 at 2015-01-10 20:23:59 -0500 Processing by MongoidForums::Admin::CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"9BHjpOzICLMWwBjHjSoVLsDt7SE6TuEEYnsK1XuR/JLNYmw9IfJGAHy97QriFANVkytg0E57gR1TDHmG9aIZcw==", "category"=>{"name"=>"sdffds"}, "commit"=>"Create Category"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5960ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_categories documents=[{"_id"=>BSON::ObjectId('54b1d0af4e656942f2040000'), "name"=>"sdffds"}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4950ms Redirected to http://localhost:3000/forums/ Completed 302 Found in 16ms Started GET "/forums/" for ::1 at 2015-01-10 20:23:59 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d07b4e656942f2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d08e4e656942f2030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d0af4e656942f2040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2800ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (29.4ms) Completed 200 OK in 81ms (Views: 80.7ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:23:59 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:23:59 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:23:59 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:23:59 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:23:59 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:23:59 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:23:59 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:23:59 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:23:59 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:23:59 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:23:59 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:23:59 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:23:59 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:23:59 -0500 Started GET "/forums/admin" for ::1 at 2015-01-10 20:24:06 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (0.6ms) Completed 200 OK in 42ms (Views: 42.1ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:24:06 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:24:06 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:24:06 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:24:06 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:24:06 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:24:06 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:24:06 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:24:06 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:24:06 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:24:06 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:24:06 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:24:06 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:24:06 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:24:06 -0500 Started GET "/forums/admin/forums/new" for ::1 at 2015-01-10 20:24:07 -0500 Processing by MongoidForums::Admin::ForumsController#new as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/forums/new.html.erb within layouts/mongoid_forums/application (0.1ms) Completed 200 OK in 66ms (Views: 65.2ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:24:07 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:24:07 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:24:07 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:24:07 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:24:07 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:24:07 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:24:07 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:24:07 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:24:07 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:24:07 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:24:07 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:24:07 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:24:07 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:24:07 -0500 Started GET "/forums/admin/forums/new" for ::1 at 2015-01-10 20:25:27 -0500 Processing by MongoidForums::Admin::ForumsController#new as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/forums/new.html.erb within layouts/mongoid_forums/application (0.1ms) Completed 200 OK in 60ms (Views: 43.4ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:25:28 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:25:28 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:25:28 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:25:28 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:25:28 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:25:28 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:25:28 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:25:28 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:25:28 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:25:28 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:25:28 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:25:28 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:25:28 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:25:28 -0500 Started GET "/forums/admin/forums/new" for ::1 at 2015-01-10 20:26:02 -0500 Processing by MongoidForums::Admin::ForumsController#new as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/forums/new.haml within layouts/mongoid_forums/application (4.2ms) Completed 200 OK in 49ms (Views: 48.3ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:26:03 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:26:03 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:26:03 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:26:03 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:26:03 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:26:03 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:26:03 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:26:03 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:26:03 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:26:03 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:26:03 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:26:03 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:26:03 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:26:03 -0500 Started POST "/forums/admin/forums" for ::1 at 2015-01-10 20:26:04 -0500 Processing by MongoidForums::Admin::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"fag7okZBGl/0p38xTGkJTzEnCvIsCLJbnaz4WcWlqz1E27Q7i3tU7J7aivwjVx80YuGHA1g90kKs24sKS5ZO3A==", "forum"=>{"name"=>"sdf"}, "commit"=>"Create Forum"} Completed 500 Internal Server Error in 0ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:11:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (24.9ms) Started GET "/forums/admin/forums/new" for ::1 at 2015-01-10 20:28:39 -0500 Processing by MongoidForums::Admin::ForumsController#new as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/forums/new.haml within layouts/mongoid_forums/application (5.8ms) Completed 200 OK in 68ms (Views: 53.3ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:28:39 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:28:39 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:28:39 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:28:39 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:28:39 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:28:39 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:28:39 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:28:39 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:28:39 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:28:39 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:28:39 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:28:39 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:28:39 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:28:39 -0500 Started GET "/forums/admin/forums/new" for ::1 at 2015-01-10 20:28:40 -0500 Processing by MongoidForums::Admin::ForumsController#new as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/forums/new.haml within layouts/mongoid_forums/application (3.5ms) Completed 200 OK in 37ms (Views: 36.5ms) Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:28:40 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:28:40 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:28:40 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:28:40 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:28:40 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:28:40 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:28:40 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:28:40 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:28:40 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:28:40 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:28:40 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:28:40 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:28:40 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:28:40 -0500 Started GET "/forums/admin" for ::1 at 2015-01-10 20:28:42 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (0.5ms) Completed 200 OK in 59ms (Views: 59.1ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:28:42 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:28:42 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:28:42 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:28:42 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:28:42 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:28:42 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:28:42 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:28:42 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:28:42 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:28:42 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:28:42 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:28:42 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:28:42 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:28:42 -0500 Started GET "/forums/admin/forums/new" for ::1 at 2015-01-10 20:28:43 -0500 Processing by MongoidForums::Admin::ForumsController#new as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/forums/new.haml within layouts/mongoid_forums/application (2.7ms) Completed 200 OK in 61ms (Views: 60.5ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:28:43 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:28:43 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:28:43 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:28:43 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:28:43 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:28:43 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:28:43 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:28:43 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:28:43 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:28:43 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:28:43 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:28:43 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:28:43 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:28:43 -0500 Started GET "/forums/admin/forums/new" for ::1 at 2015-01-10 20:28:51 -0500 Processing by MongoidForums::Admin::ForumsController#new as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/forums/new.haml within layouts/mongoid_forums/application (3.4ms) Completed 200 OK in 42ms (Views: 41.5ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:28:51 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:28:51 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:28:51 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:28:51 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:28:51 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:28:51 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:28:51 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:28:51 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:28:51 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:28:51 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:28:51 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:28:51 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:28:51 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:28:51 -0500 Started GET "/forums/admin/forums/new" for ::1 at 2015-01-10 20:29:03 -0500 Processing by MongoidForums::Admin::ForumsController#new as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/forums/new.haml within layouts/mongoid_forums/application (21.8ms) Completed 200 OK in 66ms (Views: 66.1ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:29:03 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:29:03 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:29:03 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:29:03 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:29:03 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:29:03 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:29:03 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:29:03 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:29:03 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:29:03 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:29:03 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:29:03 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:29:03 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:29:03 -0500 Started GET "/forums/admin/forums/new" for ::1 at 2015-01-10 20:29:17 -0500 Processing by MongoidForums::Admin::ForumsController#new as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/forums/new.haml within layouts/mongoid_forums/application (6.7ms) Completed 200 OK in 53ms (Views: 52.5ms) Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:29:17 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:29:17 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:29:17 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:29:17 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:29:17 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:29:17 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:29:17 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:29:17 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:29:17 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:29:17 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:29:17 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:29:17 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:29:17 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:29:17 -0500 Started GET "/forums/admin/forums/new" for ::1 at 2015-01-10 20:30:03 -0500 Processing by MongoidForums::Admin::ForumsController#new as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/forums/new.haml within layouts/mongoid_forums/application (6.4ms) Completed 500 Internal Server Error in 10ms ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::Category): 1: = simple_form_for [:admin, @forum] do |f| 2: = f.input :name 3: = f.input :category, collection: Category.all 4: = f.submit "Create Forum", :class => "btn", :disable_with => "Creating..." /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/forums/new.haml:3:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_admin_forums_new_haml__3580253499955084961_70324070134400' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `call' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml' haml (4.0.6) lib/haml/helpers.rb:278:in `with_tabs' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss' simple_form (3.0.3) lib/simple_form/action_view_extensions/form_helper.rb:22:in `block in simple_form_for' simple_form (3.0.3) lib/simple_form/action_view_extensions/form_helper.rb:41:in `with_simple_form_field_error_proc' simple_form (3.0.3) lib/simple_form/action_view_extensions/form_helper.rb:21:in `simple_form_for' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/forums/new.haml:1:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_admin_forums_new_haml__3580253499955084961_70324070134400' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (30.7ms) Started GET "/forums/admin/forums/new" for ::1 at 2015-01-10 20:30:14 -0500 Processing by MongoidForums::Admin::ForumsController#new as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5670ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/forums/new.haml within layouts/mongoid_forums/application (8.3ms) Completed 200 OK in 50ms (Views: 49.6ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:30:15 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:30:15 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:30:15 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:30:15 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:30:15 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:30:15 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:30:15 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:30:15 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:30:15 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:30:15 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:30:15 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:30:15 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:30:15 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:30:15 -0500 Started POST "/forums/admin/forums" for ::1 at 2015-01-10 20:30:20 -0500 Processing by MongoidForums::Admin::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"W0NuYLYo4EBVaELi/PBx3fh8KrIc14EFrrVciPjo/2NiMOH5exKu8z8Vty+Tzmemq7qnQ2ji4Ryfwi/bdtsagg==", "forum"=>{"name"=>"sdfsdf", "category"=>"54b1d05c4e656942f2010000"}, "commit"=>"Create Forum"} Completed 500 Internal Server Error in 0ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/forums_controller.rb:11:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (18.9ms) Started GET "/forums/admin/forums/new" for ::1 at 2015-01-10 20:31:36 -0500 Processing by MongoidForums::Admin::ForumsController#new as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4750ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/forums/new.haml within layouts/mongoid_forums/application (7.9ms) Completed 200 OK in 69ms (Views: 55.6ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:31:36 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:31:36 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:31:36 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:31:36 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:31:36 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:31:36 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:31:36 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:31:36 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:31:36 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:31:36 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:31:36 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:31:36 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:31:36 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:31:36 -0500 Started POST "/forums/admin/forums" for ::1 at 2015-01-10 20:31:43 -0500 Processing by MongoidForums::Admin::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"aRtkUM3yv2q7DhLctg2Yj1L/drMwZTq4A2D3RZGh/jhQaOvJAMjx2dFz5xHZM470ATn7QkRQWqEyF4QWH5Ib2Q==", "forum"=>{"name"=>"test", "category"=>"54b1d05c4e656942f2010000"}, "commit"=>"Create Forum"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_forums documents=[{"_id"=>BSON::ObjectId('54b1d27f4e656942f2050000'), "name"=>"test", "category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6600ms Redirected to http://localhost:3000/forums/54b1d27f4e656942f2050000 Completed 302 Found in 17ms Started GET "/forums/54b1d27f4e656942f2050000" for ::1 at 2015-01-10 20:31:43 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b1d27f4e656942f2050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3320ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.5ms) Completed 200 OK in 51ms (Views: 48.7ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:31:43 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:31:43 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:31:43 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:31:43 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:31:43 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:31:43 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:31:43 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:31:43 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:31:43 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:31:43 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:31:43 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:31:43 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:31:43 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:31:43 -0500 Started GET "/forums" for ::1 at 2015-01-10 20:31:50 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d07b4e656942f2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d08e4e656942f2030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d0af4e656942f2040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4420ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (31.3ms) Completed 200 OK in 103ms (Views: 102.3ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:31:50 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:31:50 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:31:50 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:31:50 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:31:50 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:31:50 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:31:50 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:31:50 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:31:50 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:31:50 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:31:50 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:31:50 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:31:50 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:31:50 -0500 Started GET "/forums/54b1d27f4e656942f2050000" for ::1 at 2015-01-10 20:31:54 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b1d27f4e656942f2050000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2820ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.7ms) Completed 200 OK in 52ms (Views: 49.1ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:31:54 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:31:54 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:31:54 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:31:54 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:31:54 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:31:54 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:31:54 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:31:54 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:31:54 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:31:54 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:31:54 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:31:54 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:31:54 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:31:54 -0500 Started GET "/forums/54b1d27f4e656942f2050000/new" for ::1 at 2015-01-10 20:31:56 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b1d27f4e656942f2050000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (19.0ms) Completed 200 OK in 86ms (Views: 82.6ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:31:56 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:31:56 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:31:56 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:31:56 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:31:56 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:31:56 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:31:56 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:31:56 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:31:56 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:31:56 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:31:56 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:31:56 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:31:56 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:31:56 -0500 Started POST "/forums/54b1d27f4e656942f2050000/create" for ::1 at 2015-01-10 20:32:04 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"L7K4Rfbf8W5BLGhKGENPsrfHNaKy/+OQCG0/AHq2BEAWwTfcO+W/3StRnYd3fVnJ5AG4U8bKg4k5GkxT9IXhoQ==", "topic"=>{"name"=>"hello", "posts"=>{"text"=>"test"}}, "commit"=>"Create Topic", "forum_id"=>"54b1d27f4e656942f2050000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000'), "name"=>"hello", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000'), "updated_at"=>2015-01-11 01:32:04 UTC, "created_at"=>2015-01-11 01:32:04 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.2060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b1d2944e656942f2080000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "text"=>"test", "topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000'), "updated_at"=>2015-01-11 01:32:04 UTC, "created_at"=>2015-01-11 01:32:04 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4450ms Redirected to http://localhost:3000/forums/topics/54b1d2944e656942f2070000 Completed 302 Found in 18ms Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-10 20:32:04 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7070ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.9ms) Completed 200 OK in 67ms (Views: 64.5ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:32:04 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:32:04 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:32:04 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:32:04 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:32:04 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:32:04 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:32:04 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:32:04 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:32:04 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:32:04 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:32:04 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:32:04 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:32:04 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:32:04 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000/posts/new?reply_to_id=54b1d2944e656942f2080000" for ::1 at 2015-01-10 20:32:07 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1d2944e656942f2080000", "topic_id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (10.6ms) Completed 200 OK in 60ms (Views: 56.5ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:32:07 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:32:07 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:32:07 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:32:07 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:32:07 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:32:07 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:32:07 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:32:07 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:32:07 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:32:07 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:32:07 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:32:07 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:32:07 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:32:07 -0500 Started POST "/forums/topics/54b1d2944e656942f2070000/posts" for ::1 at 2015-01-10 20:32:11 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Juanrz1P4qhHhKhxP9LBWO6oJarpxRT3SOITPmueiDMflSg28HWsGy35XbxQ7NcjvW6oW53wdO55lWBt5a1t0g==", "post"=>{"text"=>"quote", "reply_to_id"=>"54b1d2944e656942f2080000"}, "commit"=>"Create Reply", "topic_id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b1d29b4e656942f20a0000'), "text"=>"quote", "topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "reply_to_id"=>BSON::ObjectId('54b1d2944e656942f2080000'), "updated_at"=>2015-01-11 01:32:11 UTC, "created_at"=>2015-01-11 01:32:11 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5430ms Redirected to http://localhost:3000/forums/topics/54b1d2944e656942f2070000 Completed 302 Found in 6ms Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-10 20:32:11 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.8ms) Completed 200 OK in 52ms (Views: 49.3ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:32:11 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:32:11 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:32:11 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:32:11 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:32:11 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:32:11 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:32:11 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:32:11 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:32:11 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:32:11 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:32:11 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:32:11 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:32:11 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:32:11 -0500 Started GET "/forums" for ::1 at 2015-01-10 20:32:17 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d07b4e656942f2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d08e4e656942f2030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d0af4e656942f2040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2640ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (18.0ms) Completed 200 OK in 57ms (Views: 56.3ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:32:17 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:32:17 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:32:17 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:32:17 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:32:17 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:32:17 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:32:17 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:32:17 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:32:17 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:32:17 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:32:17 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:32:17 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:32:17 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:32:17 -0500 Started GET "/forums" for ::1 at 2015-01-10 20:36:29 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d07b4e656942f2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d08e4e656942f2030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d0af4e656942f2040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4400ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (37.7ms) Completed 200 OK in 80ms (Views: 79.6ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:36:29 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:36:29 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:36:29 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:36:29 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:36:29 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:36:29 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:36:29 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:36:29 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:36:29 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:36:29 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:36:29 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:36:29 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:36:29 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:36:29 -0500 Started GET "/forums" for ::1 at 2015-01-10 20:37:03 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d07b4e656942f2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d08e4e656942f2030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d0af4e656942f2040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2580ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (17.9ms) Completed 200 OK in 60ms (Views: 60.3ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:37:03 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:37:03 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:37:03 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:37:03 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:37:03 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:37:03 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:37:03 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:37:03 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:37:03 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:37:03 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:37:03 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:37:03 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:37:03 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:37:03 -0500 Started GET "/forums" for ::1 at 2015-01-10 20:37:26 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (20.2ms) Completed 200 OK in 64ms (Views: 63.9ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:37:26 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:37:26 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:37:26 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:37:26 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:37:26 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:37:26 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:37:26 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:37:26 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:37:26 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:37:26 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:37:26 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:37:26 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:37:26 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:37:26 -0500 Started GET "/forums/54b1d27f4e656942f2050000" for ::1 at 2015-01-10 20:37:27 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b1d27f4e656942f2050000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6650ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (7.2ms) Completed 200 OK in 65ms (Views: 58.3ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:37:28 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:37:28 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:37:28 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:37:28 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:37:28 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:37:28 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:37:28 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:37:28 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:37:28 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:37:28 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:37:28 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:37:28 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:37:28 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:37:28 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-10 20:37:30 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3900ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (10.9ms) Completed 200 OK in 81ms (Views: 78.0ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:37:30 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:37:31 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:37:31 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:37:31 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:37:31 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:37:31 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:37:31 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:37:31 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:37:31 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:37:31 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:37:31 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:37:31 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:37:31 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:37:31 -0500 Started GET "/forums" for ::1 at 2015-01-10 20:37:38 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (16.8ms) Completed 200 OK in 67ms (Views: 67.2ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:37:38 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:37:38 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:37:38 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:37:38 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:37:38 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:37:38 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:37:38 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:37:38 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:37:38 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:37:38 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:37:38 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:37:38 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:37:38 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:37:38 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 20:45:10 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (6.4ms) Completed 200 OK in 52ms (Views: 47.5ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:45:10 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:45:10 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:45:10 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:45:10 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:45:10 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:45:10 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:45:10 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:45:10 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:45:10 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:45:10 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:45:10 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:45:10 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:45:10 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:45:10 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 20:45:38 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3420ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.1ms) Completed 200 OK in 57ms (Views: 52.2ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:45:38 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:45:38 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:45:38 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:45:38 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:45:38 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:45:38 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:45:38 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:45:38 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:45:38 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:45:38 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:45:38 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:45:38 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:45:38 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:45:38 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new" for ::1 at 2015-01-10 20:46:41 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (2.9ms) Completed 200 OK in 51ms (Views: 46.6ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:46:41 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:46:41 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:46:41 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:46:41 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:46:41 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:46:41 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:46:41 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:46:41 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:46:41 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:46:41 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:46:41 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:46:41 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:46:41 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:46:41 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 20:46:53 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4410ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (11.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (13.9ms) Completed 200 OK in 59ms (Views: 55.3ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:46:53 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:46:53 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:46:53 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:46:53 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:46:53 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:46:53 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:46:53 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:46:53 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:46:53 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:46:53 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:46:53 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:46:53 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:46:53 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:46:53 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new?reply_to_id=54b1ae024e656935441a0000" for ::1 at 2015-01-10 20:46:55 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1ae024e656935441a0000", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6890ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (5.9ms) Completed 200 OK in 51ms (Views: 46.0ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:46:55 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:46:55 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:46:55 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:46:55 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:46:55 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:46:55 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:46:55 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:46:55 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:46:55 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:46:55 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:46:55 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:46:55 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:46:55 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:46:55 -0500 Started GET "/forums" for ::1 at 2015-01-10 20:48:41 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (15.2ms) Completed 200 OK in 61ms (Views: 60.6ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:48:41 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:48:41 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:48:41 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:48:41 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:48:41 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:48:41 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:48:41 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:48:41 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:48:41 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:48:41 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:48:41 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:48:41 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:48:41 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:48:41 -0500 Started GET "/forums" for ::1 at 2015-01-10 20:48:41 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (17.4ms) Completed 200 OK in 53ms (Views: 52.3ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:48:41 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:48:41 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:48:41 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:48:41 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:48:42 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:48:42 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:48:42 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:48:42 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:48:42 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:48:42 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:48:42 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:48:42 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:48:42 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:48:42 -0500 Started GET "/forums" for ::1 at 2015-01-10 20:50:37 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (14.7ms) Completed 200 OK in 49ms (Views: 48.6ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:50:38 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:50:38 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:50:38 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:50:38 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:50:38 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:50:38 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:50:38 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:50:38 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:50:38 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:50:38 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:50:38 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:50:38 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:50:38 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:50:38 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 20:50:45 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.6ms) Completed 200 OK in 65ms (Views: 61.7ms) Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:50:45 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:50:45 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:50:45 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:50:45 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:50:45 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:50:45 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:50:45 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:50:45 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:50:45 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:50:45 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:50:45 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:50:45 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:50:45 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:50:45 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 20:59:36 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.3ms) Completed 200 OK in 47ms (Views: 43.5ms) Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:59:36 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:59:36 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:59:36 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:59:36 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:59:36 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:59:36 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:59:36 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:59:36 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:59:36 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:59:36 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:59:36 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:59:36 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:59:36 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:59:36 -0500 Started GET "/forums" for ::1 at 2015-01-10 20:59:39 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (16.6ms) Completed 200 OK in 64ms (Views: 63.5ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:59:39 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:59:39 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:59:39 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:59:39 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:59:39 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 20:59:39 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 20:59:39 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:59:39 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:59:39 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:59:39 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:59:39 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:59:39 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 20:59:39 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 20:59:39 -0500 Started GET "/forums" for ::1 at 2015-01-10 22:36:49 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (17.6ms) Completed 200 OK in 66ms (Views: 66.0ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:36:49 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:36:49 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:36:49 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:36:49 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:36:49 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:36:49 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:36:49 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:36:49 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:36:49 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 22:36:49 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:36:49 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:36:49 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:36:49 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 22:36:49 -0500 Started GET "/" for ::1 at 2015-01-10 22:36:51 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.5ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5900ms Rendered partials/_nav.haml (5.2ms) Completed 200 OK in 72ms (Views: 71.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 22:36:51 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:36:51 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 22:36:51 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:36:51 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 22:36:52 -0500 Started GET "/forums" for ::1 at 2015-01-10 22:36:57 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (21.1ms) Completed 200 OK in 58ms (Views: 58.0ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:36:57 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:36:57 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:36:57 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:36:57 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:36:57 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:36:57 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 22:36:57 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:36:57 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:36:57 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:36:57 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:36:57 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:36:57 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:36:57 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 22:36:57 -0500 Started GET "/forums" for ::1 at 2015-01-10 22:59:11 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.1830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (71.8ms) Completed 200 OK in 126ms (Views: 117.9ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:11 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:11 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 22:59:11 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:11 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:11 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:11 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:11 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:11 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:11 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:11 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:11 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:11 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:11 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 22:59:11 -0500 Started GET "/forums" for ::1 at 2015-01-10 22:59:12 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (17.1ms) Completed 200 OK in 57ms (Views: 56.3ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:12 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:12 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:12 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:12 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:12 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:12 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 22:59:12 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:12 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:12 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:12 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:12 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:12 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:12 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 22:59:12 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-10 22:59:13 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (6.5ms) Completed 200 OK in 76ms (Views: 71.5ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:14 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:14 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:14 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:14 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:14 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:14 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 22:59:14 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:14 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:14 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:14 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:14 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:14 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:14 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 22:59:14 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 22:59:15 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3290ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (11.9ms) Completed 200 OK in 68ms (Views: 63.4ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:16 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:16 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:16 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 22:59:16 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:16 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:16 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:16 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:16 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:16 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:16 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:16 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:16 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:16 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 22:59:16 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new?reply_to_id=54b1ae024e656935441a0000" for ::1 at 2015-01-10 22:59:17 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1ae024e656935441a0000", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (9.1ms) Completed 200 OK in 71ms (Views: 65.6ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:17 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:17 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:17 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:17 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:18 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:18 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 22:59:18 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:18 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:18 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:18 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:18 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:18 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:18 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 22:59:18 -0500 Started POST "/forums/topics/54b1adfb4e65693544170000/posts" for ::1 at 2015-01-10 22:59:19 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"+AfJfxZ9bqCT1RbgWN0c4U/YKXVDlaxXOtd6Co5hlE/BdEbm20cgE/mo4y034wqaHB6khDegzE4LoAlZAFJxrg==", "post"=>{"text"=>"sdfsdfsdfsf", "reply_to_id"=>"54b1ae024e656935441a0000"}, "commit"=>"Create Reply", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000'), "text"=>"sdfsdfsdfsf", "topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "reply_to_id"=>BSON::ObjectId('54b1ae024e656935441a0000'), "updated_at"=>2015-01-11 03:59:19 UTC, "created_at"=>2015-01-11 03:59:19 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.2200ms Redirected to http://localhost:3000/forums/topics/54b1adfb4e65693544170000 Completed 302 Found in 10ms Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 22:59:19 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5980ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (20.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (30.0ms) Completed 200 OK in 78ms (Views: 74.8ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:19 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:19 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:19 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:19 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:19 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:19 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 22:59:19 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:19 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:19 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:19 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:19 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:19 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:19 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 22:59:19 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new" for ::1 at 2015-01-10 22:59:20 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (3.4ms) Completed 200 OK in 58ms (Views: 55.5ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:20 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:20 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 22:59:20 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:20 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:20 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:20 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:20 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:20 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:20 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:20 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:20 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:20 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:20 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 22:59:20 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 22:59:26 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.6900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3450ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (60.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (63.3ms) Completed 200 OK in 113ms (Views: 109.6ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:26 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:26 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:26 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:26 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:26 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:26 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 22:59:26 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:26 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:26 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:26 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:26 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:26 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:26 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 22:59:26 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new?reply_to_id=54b1f5174e656942f20e0000" for ::1 at 2015-01-10 22:59:28 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1f5174e656942f20e0000", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (8.1ms) Completed 200 OK in 59ms (Views: 56.6ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:29 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:29 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:29 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:29 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:29 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:29 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 22:59:29 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:29 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:29 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:29 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:29 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:29 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:29 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 22:59:29 -0500 Started POST "/forums/topics/54b1adfb4e65693544170000/posts" for ::1 at 2015-01-10 22:59:30 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"EZpeXlgOPsXuZRRCyR2N/ui+R6X8k7hLk8GgkdhybDUo6dHHlTRwdoQY4Y+mI5uFu3jKVIim2FKittPCVkGJ1A==", "post"=>{"text"=>"sdfsdfs", "reply_to_id"=>"54b1f5174e656942f20e0000"}, "commit"=>"Create Reply", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b1f5224e656942f2110000'), "text"=>"sdfsdfs", "topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "reply_to_id"=>BSON::ObjectId('54b1f5174e656942f20e0000'), "updated_at"=>2015-01-11 03:59:30 UTC, "created_at"=>2015-01-11 03:59:30 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5960ms Redirected to http://localhost:3000/forums/topics/54b1adfb4e65693544170000 Completed 302 Found in 8ms Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-10 22:59:30 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3180ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (19.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (20.7ms) Completed 200 OK in 68ms (Views: 65.6ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:30 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:30 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:30 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:30 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:30 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:30 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 22:59:30 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:30 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:30 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:30 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:30 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:30 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:30 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 22:59:30 -0500 Started GET "/forums/admin" for ::1 at 2015-01-10 22:59:40 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (0.5ms) Completed 200 OK in 42ms (Views: 42.1ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:40 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:40 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:40 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:40 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 22:59:40 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:40 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:40 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:40 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:40 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:40 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:40 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:40 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:40 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 22:59:40 -0500 Started GET "/forums/admin/categories/new" for ::1 at 2015-01-10 22:59:42 -0500 Processing by MongoidForums::Admin::CategoriesController#new as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/categories/new.haml within layouts/mongoid_forums/application (6.2ms) Completed 200 OK in 77ms (Views: 77.0ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:42 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:42 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:42 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:42 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:42 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:42 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 22:59:42 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:42 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:42 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:42 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:42 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:42 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:42 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 22:59:42 -0500 Started GET "/forums/admin/forums/new" for ::1 at 2015-01-10 22:59:45 -0500 Processing by MongoidForums::Admin::ForumsController#new as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4360ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/forums/new.haml within layouts/mongoid_forums/application (8.4ms) Completed 200 OK in 53ms (Views: 52.4ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:45 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:45 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:45 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:45 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:45 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:45 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 22:59:45 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:45 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:45 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:45 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:45 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:45 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:45 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 22:59:45 -0500 Started POST "/forums/admin/forums" for ::1 at 2015-01-10 22:59:49 -0500 Processing by MongoidForums::Admin::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"EawsxWI1+kFTmnw5Ts+9YYkGVnIMk5iEq7W3ZQPNulwo36Ncrw+08jnnifQh8asa2sDbg3im+J2awsQ2jf5fvQ==", "forum"=>{"name"=>"cxsdfsdfsdf", "category"=>"54b1d05c4e656942f2010000"}, "commit"=>"Create Forum"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_forums documents=[{"_id"=>BSON::ObjectId('54b1f5354e656942f2120000'), "name"=>"cxsdfsdfsdf", "category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5280ms Redirected to http://localhost:3000/forums/54b1f5354e656942f2120000 Completed 302 Found in 5ms Started GET "/forums/54b1f5354e656942f2120000" for ::1 at 2015-01-10 22:59:49 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b1f5354e656942f2120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b1f5354e656942f2120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3790ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.9ms) Completed 200 OK in 43ms (Views: 40.9ms) Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:49 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:49 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:49 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:49 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:49 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:49 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 22:59:49 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:49 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:49 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:49 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:49 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:49 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:49 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 22:59:49 -0500 Started GET "/forums/" for ::1 at 2015-01-10 22:59:53 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6410ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (17.1ms) Completed 200 OK in 59ms (Views: 59.2ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:53 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:53 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:53 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:53 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:53 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:53 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 22:59:53 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:53 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:53 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:53 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:53 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:53 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:53 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 22:59:53 -0500 Started GET "/forums/54b1f5354e656942f2120000" for ::1 at 2015-01-10 22:59:54 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b1f5354e656942f2120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b1f5354e656942f2120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6070ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.5ms) Completed 200 OK in 57ms (Views: 52.0ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:54 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:54 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:54 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:54 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:54 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 22:59:54 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:54 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:54 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:54 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:54 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:54 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:54 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:54 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 22:59:54 -0500 Started GET "/forums/54b1f5354e656942f2120000/new" for ::1 at 2015-01-10 22:59:55 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b1f5354e656942f2120000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b1f5354e656942f2120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (27.5ms) Completed 200 OK in 88ms (Views: 84.0ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:56 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:56 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:56 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 22:59:56 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:56 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:56 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 22:59:56 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:56 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:56 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:56 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:56 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:56 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 22:59:56 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 22:59:56 -0500 Started GET "/forums/54b1f5354e656942f2120000/new" for ::1 at 2015-01-10 23:05:49 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b1f5354e656942f2120000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b1f5354e656942f2120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (5.5ms) Completed 200 OK in 74ms (Views: 45.9ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:05:49 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:05:49 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:05:49 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:05:49 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:05:49 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:05:49 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:05:49 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:05:49 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:05:49 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:05:49 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 23:05:49 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:05:49 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:05:49 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 23:05:49 -0500 Started GET "/forums/54b1f5354e656942f2120000/new" for ::1 at 2015-01-10 23:05:59 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b1f5354e656942f2120000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b1f5354e656942f2120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (7.3ms) Completed 200 OK in 83ms (Views: 59.6ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:05:59 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:05:59 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:05:59 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:05:59 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:05:59 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:05:59 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 23:05:59 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:05:59 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:05:59 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:05:59 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:05:59 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:05:59 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:05:59 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 23:05:59 -0500 Started GET "/forums/admin" for ::1 at 2015-01-10 23:06:03 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (0.4ms) Completed 200 OK in 46ms (Views: 45.8ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:06:03 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:06:03 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:06:03 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:06:03 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:06:03 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:06:03 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 23:06:03 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:06:03 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:06:03 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:06:03 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:06:03 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:06:03 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:06:03 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 23:06:03 -0500 Started GET "/forums/admin" for ::1 at 2015-01-10 23:06:22 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML Completed 500 Internal Server Error in 7ms LoadError (Unable to autoload constant MongoidForums::Permission, expected /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/permission.rb to define it): activesupport (4.2.0) lib/active_support/dependencies.rb:495:in `load_missing_constant' activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' activesupport (4.2.0) lib/active_support/dependencies.rb:526:in `load_missing_constant' activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' activesupport (4.2.0) lib/active_support/dependencies.rb:526:in `load_missing_constant' activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:13:in `current_permission' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:17:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (26.4ms) Started GET "/forums/admin" for ::1 at 2015-01-10 23:06:48 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms Completed 500 Internal Server Error in 8ms NameError (undefined local variable or method `current_user' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/permission.rb:3:in `allow?' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:17:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (16.8ms) Started GET "/forums/admin" for ::1 at 2015-01-10 23:07:02 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms Completed 500 Internal Server Error in 7ms NameError (undefined local variable or method `current_user' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/permission.rb:3:in `allow?' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:17:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (20.1ms) Started GET "/forums/admin" for ::1 at 2015-01-10 23:07:03 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms Completed 500 Internal Server Error in 2ms NameError (undefined local variable or method `current_user' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/permission.rb:3:in `allow?' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:17:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (16.6ms) Started GET "/forums/admin" for ::1 at 2015-01-10 23:07:43 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms Completed 500 Internal Server Error in 12ms NameError (undefined local variable or method `current_user' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/permission.rb:3:in `allow?' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:17:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (23.0ms) Started GET "/forums/admin" for ::1 at 2015-01-10 23:07:45 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms Completed 500 Internal Server Error in 2ms NameError (undefined local variable or method `current_user' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/permission.rb:3:in `allow?' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:17:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (21.8ms) Started GET "/forums/admin" for ::1 at 2015-01-10 23:08:08 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms Completed 500 Internal Server Error in 9ms NameError (undefined local variable or method `current_user' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/permission.rb:3:in `allow?' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:17:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (18.8ms) Started GET "/forums/admin" for ::1 at 2015-01-10 23:08:09 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms Completed 500 Internal Server Error in 2ms NameError (undefined local variable or method `current_user' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/permission.rb:3:in `allow?' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:17:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (19.9ms) Started GET "/forums/admin" for ::1 at 2015-01-10 23:08:10 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms Completed 500 Internal Server Error in 2ms NameError (undefined local variable or method `current_user' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/permission.rb:3:in `allow?' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:17:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (16.8ms) Started GET "/forums/admin" for ::1 at 2015-01-10 23:08:10 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms Completed 500 Internal Server Error in 2ms NameError (undefined local variable or method `current_user' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/permission.rb:3:in `allow?' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:17:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (19.8ms) Started GET "/forums/admin" for ::1 at 2015-01-10 23:08:10 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms Completed 500 Internal Server Error in 2ms NameError (undefined local variable or method `current_user' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/permission.rb:3:in `allow?' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:17:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (24.3ms) Started GET "/forums/admin" for ::1 at 2015-01-10 23:08:10 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6080ms Completed 500 Internal Server Error in 3ms NameError (undefined local variable or method `current_user' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/permission.rb:3:in `allow?' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:17:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (22.1ms) Started GET "/forums/admin" for ::1 at 2015-01-10 23:08:24 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 20ms Started GET "/forums/" for ::1 at 2015-01-10 23:08:24 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (66.2ms) Completed 200 OK in 192ms (Views: 191.9ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:08:25 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:08:25 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:08:25 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:08:25 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 23:08:25 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:08:25 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:08:25 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:08:25 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:08:25 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:08:25 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:08:25 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:08:25 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:08:25 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 23:08:25 -0500 Started GET "/forums/" for ::1 at 2015-01-10 23:08:25 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (18.1ms) Completed 200 OK in 67ms (Views: 67.0ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:08:26 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:08:26 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:08:26 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:08:26 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:08:26 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:08:26 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:08:26 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:08:26 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:08:26 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:08:26 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 23:08:26 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:08:26 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:08:26 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 23:08:26 -0500 Started GET "/forums/admin" for ::1 at 2015-01-10 23:08:29 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-10 23:08:29 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (16.4ms) Completed 200 OK in 56ms (Views: 56.1ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:08:29 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:08:29 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:08:29 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:08:29 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:08:29 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:08:29 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 23:08:29 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:08:29 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:08:29 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:08:29 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:08:29 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:08:29 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:08:29 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 23:08:29 -0500 Started GET "/forums/admin" for ::1 at 2015-01-10 23:09:05 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 9ms Started GET "/forums/" for ::1 at 2015-01-10 23:09:05 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (36.7ms) Completed 200 OK in 124ms (Views: 123.3ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:09:05 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:09:05 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:09:05 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:09:05 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 23:09:05 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:09:05 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:09:05 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:09:06 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:09:06 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:09:06 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:09:06 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:09:06 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 23:09:06 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:09:06 -0500 Started GET "/forums/" for ::1 at 2015-01-10 23:10:10 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (52.9ms) Completed 200 OK in 107ms (Views: 98.0ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:10:10 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:10:10 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:10:10 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:10:10 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:10:10 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:10:10 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 23:10:10 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:10:10 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:10:10 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:10:10 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:10:10 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:10:10 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 23:10:10 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:10:10 -0500 Started GET "/forums/admin" for ::1 at 2015-01-10 23:10:12 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms Redirected to Completed 500 Internal Server Error in 4ms TypeError (no implicit conversion of Symbol into String): actionpack (4.2.0) lib/action_controller/metal/flash.rb:48:in `delete' actionpack (4.2.0) lib/action_controller/metal/flash.rb:48:in `block in redirect_to' actionpack (4.2.0) lib/action_controller/metal/flash.rb:47:in `each' actionpack (4.2.0) lib/action_controller/metal/flash.rb:47:in `redirect_to' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:61:in `block in redirect_to' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:60:in `redirect_to' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:18:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (22.3ms) Started GET "/forums/admin" for ::1 at 2015-01-10 23:12:05 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 11ms Started GET "/forums/" for ::1 at 2015-01-10 23:12:05 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (36.7ms) Completed 200 OK in 73ms (Views: 72.9ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:05 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:05 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:05 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:05 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:05 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:05 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:05 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:05 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 23:12:05 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:05 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:05 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:05 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:05 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 23:12:05 -0500 Started GET "/forums/admin" for ::1 at 2015-01-10 23:12:08 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-10 23:12:08 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (14.5ms) Completed 200 OK in 50ms (Views: 49.4ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:08 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:08 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:08 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:08 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:08 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 23:12:08 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:08 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:08 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:08 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:08 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:08 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:08 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:08 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 23:12:08 -0500 Started GET "/forums/" for ::1 at 2015-01-10 23:12:30 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (63.2ms) Completed 200 OK in 112ms (Views: 106.0ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:30 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:30 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:30 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:30 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:30 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:30 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:30 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 23:12:30 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:30 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:30 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:30 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:30 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:30 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 23:12:30 -0500 Started GET "/forums/admin/categories" for ::1 at 2015-01-10 23:12:33 -0500 Processing by MongoidForums::Admin::CategoriesController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6140ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 5ms Started GET "/forums/" for ::1 at 2015-01-10 23:12:33 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (23.5ms) Completed 200 OK in 65ms (Views: 64.6ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:33 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:33 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:33 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:33 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:33 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:33 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 23:12:33 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:33 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:33 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:33 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:33 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:33 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:33 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 23:12:33 -0500 Started GET "/forums/" for ::1 at 2015-01-10 23:12:51 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2710ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (33.8ms) Completed 200 OK in 76ms (Views: 69.0ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:52 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:52 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:52 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:52 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:52 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:52 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 23:12:52 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:52 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:52 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:52 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:52 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:52 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:52 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 23:12:52 -0500 Started GET "/forums/admin" for ::1 at 2015-01-10 23:12:54 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-10 23:12:54 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (15.6ms) Completed 200 OK in 50ms (Views: 49.3ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:54 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:54 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:54 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:54 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:54 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:12:54 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 23:12:54 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:54 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:54 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:54 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:54 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:54 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:12:54 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 23:12:54 -0500 Started GET "/forums/" for ::1 at 2015-01-10 23:13:39 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (38.1ms) Completed 200 OK in 82ms (Views: 76.8ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:13:39 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:13:39 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:13:39 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:13:39 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:13:39 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:13:39 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 23:13:39 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:13:39 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:13:39 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:13:39 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 23:13:39 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:13:39 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:13:39 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:13:39 -0500 Started GET "/forums/admin" for ::1 at 2015-01-10 23:13:42 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-01-10 23:13:42 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (14.4ms) Completed 200 OK in 64ms (Views: 63.3ms) Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:13:42 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:13:42 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:13:42 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:13:42 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:13:42 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:13:42 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 23:13:42 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:13:42 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:13:42 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:13:42 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:13:42 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:13:42 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:13:42 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 23:13:42 -0500 Started GET "/forums/" for ::1 at 2015-01-10 23:15:16 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (18.7ms) Completed 200 OK in 56ms (Views: 55.5ms) Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:15:16 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:15:16 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:15:16 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:15:16 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 23:15:16 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:15:16 -0500 Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:15:16 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:15:16 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:15:16 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:15:16 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:15:16 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:15:16 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:15:16 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 23:15:16 -0500 Started GET "/forums/admin" for ::1 at 2015-01-10 23:15:18 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-10 23:15:18 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (14.0ms) Completed 200 OK in 50ms (Views: 49.5ms) Started GET "/assets/mongoid_forums/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:15:19 -0500 Started GET "/assets/mongoid_forums/admin/categories-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:15:19 -0500 Started GET "/assets/mongoid_forums/topics-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:15:19 -0500 Started GET "/assets/mongoid_forums/admin/base-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:15:19 -0500 Started GET "/assets/mongoid_forums/posts-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:15:19 -0500 Started GET "/assets/mongoid_forums/admin/forums-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:15:19 -0500 Started GET "/assets/mongoid_forums/admin/base-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:15:19 -0500 Started GET "/assets/mongoid_forums/application-160b72bc4035b573209083ca11b21bb2.css?body=1" for ::1 at 2015-01-10 23:15:19 -0500 Started GET "/assets/mongoid_forums/admin/categories-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:15:19 -0500 Started GET "/assets/mongoid_forums/admin/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:15:19 -0500 Started GET "/assets/mongoid_forums/forums-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:15:19 -0500 Started GET "/assets/mongoid_forums/posts-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:15:19 -0500 Started GET "/assets/mongoid_forums/topics-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:15:19 -0500 Started GET "/assets/mongoid_forums/application-849030f8ab4407c07a815e7d9dc7b15f.js?body=1" for ::1 at 2015-01-10 23:15:19 -0500 Started GET "/" for ::1 at 2015-01-10 23:17:18 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.4ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6600ms Rendered partials/_nav.haml (4.9ms) Completed 200 OK in 63ms (Views: 62.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:17:19 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 23:17:19 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 23:17:19 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 23:17:19 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:17:19 -0500 Started GET "/users/sign_out" for ::1 at 2015-01-10 23:17:20 -0500 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms Redirected to http://localhost:3000/ Completed 302 Found in 10ms Started GET "/" for ::1 at 2015-01-10 23:17:20 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) Rendered partials/_nav.haml (4.3ms) Completed 200 OK in 26ms (Views: 26.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 23:17:20 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:17:20 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 23:17:20 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:17:20 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 23:17:20 -0500 Started GET "/users/sign_in" for ::1 at 2015-01-10 23:17:22 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (9.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (28.7ms) Rendered partials/_nav.haml (0.7ms) Completed 200 OK in 74ms (Views: 63.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:17:22 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 23:17:22 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 23:17:22 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:17:22 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 23:17:22 -0500 Started GET "/users/sign_in" for ::1 at 2015-01-10 23:18:19 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (3.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (10.8ms) Rendered partials/_nav.haml (0.4ms) Completed 200 OK in 38ms (Views: 37.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:18:19 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 23:18:19 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 23:18:19 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:18:19 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 23:18:19 -0500 Started POST "/users/sign_in" for ::1 at 2015-01-10 23:18:23 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"3fNk97AogXHrsEielOATSlxgj9AKPCkD1y1lk7kXrJ5kKYFwVe85VDH862/TIufv032deZm1KAqSj+NkIH1EeA==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"neilj.ny@gmail.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"last_sign_in_at"=>2015-01-10 16:14:17 UTC, "current_sign_in_at"=>2015-01-11 04:18:23 UTC, "sign_in_count"=>8}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5490ms Redirected to http://localhost:3000/ Completed 302 Found in 92ms Started GET "/" for ::1 at 2015-01-10 23:18:23 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms Rendered partials/_nav.haml (1.5ms) Completed 200 OK in 20ms (Views: 20.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 23:18:23 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:18:23 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 23:18:23 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 23:18:23 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:18:23 -0500 Started GET "/forums" for ::1 at 2015-01-10 23:18:26 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (17.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6270ms Rendered partials/_nav.haml (18.0ms) Completed 500 Internal Server Error in 56ms ActionView::Template::Error (undefined local variable or method `destroy_user_session_path' for #<#:0x007fcf842ff818>): 1: - if user_signed_in? 2: Signed in as 3: = current_user.email 4: = link_to "Sign Out", destroy_user_session_path 5: - else 6: = link_to "Login", new_user_session_path app/views/partials/_nav.haml:4:in `_app_views_partials__nav_haml___4037610397141368380_70264683746460' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.3ms) Started GET "/forums" for ::1 at 2015-01-10 23:18:41 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (15.6ms) Completed 200 OK in 37ms (Views: 36.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:18:41 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 23:18:41 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:18:41 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 23:18:41 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 23:18:41 -0500 Started GET "/forums/admin" for ::1 at 2015-01-10 23:18:55 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-10 23:18:55 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (14.5ms) Completed 200 OK in 38ms (Views: 37.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:18:55 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 23:18:55 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 23:18:55 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:18:55 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 23:18:55 -0500 Started GET "/forums/" for ::1 at 2015-01-10 23:20:58 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (36.2ms) Completed 200 OK in 90ms (Views: 85.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 23:20:58 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 23:20:58 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:20:58 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:20:58 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 23:20:58 -0500 Started GET "/forums/admin" for ::1 at 2015-01-10 23:20:59 -0500 SyntaxError (/Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:17: syntax error, unexpected ',', expecting ')' ...on.allow? (params[:controller],params[:action]) ... ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:17: syntax error, unexpected ')', expecting keyword_end /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:22: syntax error, unexpected keyword_end, expecting end-of-input): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:17: syntax error, unexpected ',', expecting ')' ...on.allow? (params[:controller],params[:action]) ... ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:17: syntax error, unexpected ')', expecting keyword_end /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:22: syntax error, unexpected keyword_end, expecting end-of-input activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load' activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:647:in `new_constants_in' activesupport (4.2.0) lib/active_support/dependencies.rb:456:in `load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:354:in `require_or_load' activesupport (4.2.0) lib/active_support/dependencies.rb:494:in `load_missing_constant' activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' activesupport (4.2.0) lib/active_support/dependencies.rb:566:in `get' activesupport (4.2.0) lib/active_support/dependencies.rb:597:in `constantize' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (14.4ms) Started GET "/forums/" for ::1 at 2015-01-10 23:21:44 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (40.3ms) Completed 200 OK in 72ms (Views: 66.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 23:21:44 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 23:21:44 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:21:44 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:21:44 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 23:21:44 -0500 Started GET "/forums/admin" for ::1 at 2015-01-10 23:21:46 -0500 SyntaxError (/Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:17: syntax error, unexpected ',', expecting ')' ...on.allow? (params[:controller],params[:action]) ... ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:17: syntax error, unexpected ')', expecting keyword_end /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:22: syntax error, unexpected keyword_end, expecting end-of-input): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:17: syntax error, unexpected ',', expecting ')' ...on.allow? (params[:controller],params[:action]) ... ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:17: syntax error, unexpected ')', expecting keyword_end /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:22: syntax error, unexpected keyword_end, expecting end-of-input activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load' activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:647:in `new_constants_in' activesupport (4.2.0) lib/active_support/dependencies.rb:456:in `load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:354:in `require_or_load' activesupport (4.2.0) lib/active_support/dependencies.rb:494:in `load_missing_constant' activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' activesupport (4.2.0) lib/active_support/dependencies.rb:566:in `get' activesupport (4.2.0) lib/active_support/dependencies.rb:597:in `constantize' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (23.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (37.9ms) Started GET "/forums/admin" for ::1 at 2015-01-10 23:22:59 -0500 SyntaxError (/Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:17: syntax error, unexpected ',', expecting ')' ...on.allow? (params[:controller],params[:action]) ... ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:17: syntax error, unexpected ')', expecting keyword_end /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:22: syntax error, unexpected keyword_end, expecting end-of-input): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:17: syntax error, unexpected ',', expecting ')' ...on.allow? (params[:controller],params[:action]) ... ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:17: syntax error, unexpected ')', expecting keyword_end /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:22: syntax error, unexpected keyword_end, expecting end-of-input activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load' activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:647:in `new_constants_in' activesupport (4.2.0) lib/active_support/dependencies.rb:456:in `load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:354:in `require_or_load' activesupport (4.2.0) lib/active_support/dependencies.rb:494:in `load_missing_constant' activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' activesupport (4.2.0) lib/active_support/dependencies.rb:566:in `get' activesupport (4.2.0) lib/active_support/dependencies.rb:597:in `constantize' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (15.6ms) Started GET "/forums/admin" for ::1 at 2015-01-10 23:23:23 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 14ms Started GET "/forums/" for ::1 at 2015-01-10 23:23:23 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (42.3ms) Completed 200 OK in 68ms (Views: 68.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 23:23:23 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:23:23 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 23:23:23 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 23:23:23 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:23:23 -0500 Started GET "/forums/admin" for ::1 at 2015-01-10 23:23:27 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-10 23:23:27 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (14.8ms) Completed 200 OK in 45ms (Views: 44.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:23:27 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 23:23:27 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 23:23:27 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:23:27 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 23:23:27 -0500 Started GET "/forums/" for ::1 at 2015-01-10 23:28:29 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (38.8ms) Completed 200 OK in 66ms (Views: 61.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 23:28:29 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:28:29 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 23:28:29 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 23:28:29 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:28:29 -0500 Started GET "/forums/admin" for ::1 at 2015-01-10 23:28:32 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-10 23:28:32 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (20.2ms) Completed 200 OK in 45ms (Views: 45.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:28:32 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 23:28:32 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 23:28:32 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:28:32 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 23:28:32 -0500 Started GET "/forums/admin/forums/new" for ::1 at 2015-01-10 23:31:33 -0500 Processing by MongoidForums::Admin::ForumsController#new as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6670ms Completed 500 Internal Server Error in 10ms NoMethodError (undefined method `allow' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/permission.rb:4:in `initialize' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:16:in `new' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:16:in `current_permission' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/admin/base_controller.rb:20:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (22.9ms) Started GET "/forums/admin/forums/new" for ::1 at 2015-01-10 23:31:45 -0500 Processing by MongoidForums::Admin::ForumsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 9ms Started GET "/forums/" for ::1 at 2015-01-10 23:31:45 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (40.5ms) Completed 200 OK in 67ms (Views: 66.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 23:31:45 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:31:45 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 23:31:45 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:31:45 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 23:31:45 -0500 Started GET "/forums/admin/forums/new" for ::1 at 2015-01-10 23:32:14 -0500 Processing by MongoidForums::Admin::ForumsController#new as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 9ms Started GET "/forums/" for ::1 at 2015-01-10 23:32:14 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (43.0ms) Completed 200 OK in 67ms (Views: 66.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 23:32:14 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:32:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:32:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 23:32:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 23:32:14 -0500 Started GET "/forums/admin/forums/new" for ::1 at 2015-01-10 23:36:09 -0500 Processing by MongoidForums::Admin::ForumsController#new as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.9190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4900ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/forums/new.haml within layouts/mongoid_forums/application (66.6ms) Completed 200 OK in 119ms (Views: 97.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 23:36:10 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 23:36:10 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 23:36:10 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:36:10 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:36:10 -0500 Started GET "/forums/admin/categories/new" for ::1 at 2015-01-10 23:36:14 -0500 Processing by MongoidForums::Admin::CategoriesController#new as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-10 23:36:14 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (38.5ms) Completed 200 OK in 64ms (Views: 63.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-10 23:36:15 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-10 23:36:15 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-10 23:36:15 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-10 23:36:15 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-10 23:36:15 -0500 Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 21ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7120ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7450ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7050ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0290ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6060ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6460ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6450ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5870ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8960ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9460ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5730ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:21 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:21 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:21 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:21 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:21 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:21 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5730ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:21 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:21 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:21 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:21 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:21 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:21 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:21 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:21 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:21 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6000ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:21 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6380ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:21 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:21 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6170ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:21 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6010ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:21 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:21 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:22 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:22 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:22 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:22 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5820ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:22 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6400ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:22 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5990ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:22 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:22 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:22 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5810ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:22 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5480ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:22 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:22 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:22 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:22 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5480ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:22 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5930ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:22 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:22 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7930ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 5ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:22 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:22 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:22 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5650ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:22 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:27 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:27 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:27 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:27 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:27 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:27 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:27 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:27 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:27 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8130ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:27 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7190ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:27 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:27 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6950ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:27 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:27 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6680ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:27 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:27 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:27 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:27 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6500ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:27 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:27 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5930ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:27 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:53 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2680ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (66.6ms) Completed 200 OK in 162ms (Views: 150.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:19:54 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:19:54 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:19:54 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:19:54 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:19:54 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 00:19:58 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:58 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (17.3ms) Completed 200 OK in 46ms (Views: 44.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:19:58 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:19:58 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:19:58 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:19:58 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:19:58 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 00:19:59 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 00:19:59 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (17.2ms) Completed 200 OK in 82ms (Views: 80.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:19:59 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:19:59 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:20:00 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:20:00 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:20:00 -0500 Started GET "/" for ::1 at 2015-01-11 00:20:03 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms Rendered partials/_nav.haml (2.7ms) Completed 200 OK in 41ms (Views: 39.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:20:03 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:20:03 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:20:03 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:20:03 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:20:03 -0500 Started GET "/forums/" for ::1 at 2015-01-11 00:20:05 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (22.0ms) Completed 200 OK in 67ms (Views: 65.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:20:05 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:20:05 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:20:05 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:20:05 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:20:05 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 00:20:22 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5790ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 10ms Started GET "/forums/" for ::1 at 2015-01-11 00:20:22 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (41.4ms) Completed 200 OK in 78ms (Views: 75.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:20:22 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:20:22 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:20:22 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:20:22 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:20:22 -0500 Started GET "/forums/" for ::1 at 2015-01-11 00:20:32 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (83.5ms) Completed 200 OK in 119ms (Views: 109.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:20:33 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:20:33 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:20:33 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:20:33 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:20:33 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 00:20:34 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (11.7ms) Completed 200 OK in 49ms (Views: 43.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:20:34 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:20:34 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:20:34 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:20:34 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:20:34 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 00:20:36 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:20:36 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (17.0ms) Completed 200 OK in 42ms (Views: 39.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:20:36 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:20:36 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:20:36 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:20:36 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:20:36 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 00:20:38 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6590ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (7.6ms) Completed 200 OK in 37ms (Views: 33.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:20:38 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:20:38 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:20:38 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:20:38 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:20:38 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 00:20:53 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 5ms Started GET "/forums/" for ::1 at 2015-01-11 00:20:53 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (16.0ms) Completed 200 OK in 41ms (Views: 39.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:20:53 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:20:53 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:20:53 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:20:53 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:20:53 -0500 Started GET "/forums/" for ::1 at 2015-01-11 00:21:08 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (42.1ms) Completed 200 OK in 80ms (Views: 69.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:21:09 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:21:09 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:21:09 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:21:09 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:21:09 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 00:21:10 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.1ms) Completed 200 OK in 36ms (Views: 30.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:21:10 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:21:10 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:21:10 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:21:10 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:21:10 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 00:21:11 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3860ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (18.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (23.7ms) Completed 200 OK in 79ms (Views: 59.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:21:11 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:21:11 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:21:11 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:21:11 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:21:11 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new" for ::1 at 2015-01-11 00:21:13 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-01-11 00:21:13 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (14.5ms) Completed 200 OK in 52ms (Views: 50.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:21:14 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:21:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:21:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:21:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:21:14 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 00:21:17 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (15.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (16.8ms) Completed 200 OK in 49ms (Views: 42.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:21:17 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:21:17 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:21:17 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:21:17 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:21:17 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 00:21:54 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (13.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (14.4ms) Completed 200 OK in 58ms (Views: 33.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:21:55 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:21:55 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:21:55 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:21:55 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:21:55 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new" for ::1 at 2015-01-11 00:22:04 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-01-11 00:22:04 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (23.7ms) Completed 200 OK in 44ms (Views: 42.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:22:05 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:22:05 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:22:05 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:22:05 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:22:05 -0500 Started GET "/forums/" for ::1 at 2015-01-11 00:22:30 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (41.0ms) Completed 200 OK in 97ms (Views: 66.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:22:30 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:22:30 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:22:30 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:22:30 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:22:30 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 00:22:32 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (6.8ms) Completed 200 OK in 44ms (Views: 37.6ms) Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:22:33 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:22:33 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:22:33 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:22:33 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:22:33 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-11 00:22:34 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7210ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-01-11 00:22:34 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (14.5ms) Completed 200 OK in 39ms (Views: 37.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:22:34 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:22:34 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:22:34 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:22:34 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:22:34 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 00:22:35 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.4ms) Completed 200 OK in 37ms (Views: 31.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:22:35 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:22:35 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:22:35 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:22:35 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:22:35 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 00:22:36 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (17.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (18.5ms) Completed 200 OK in 50ms (Views: 42.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:22:36 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:22:36 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:22:36 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:22:36 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:22:36 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new" for ::1 at 2015-01-11 00:22:37 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (3.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (16.4ms) Completed 200 OK in 59ms (Views: 53.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:22:38 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:22:38 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:22:38 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:22:38 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:22:38 -0500 Started POST "/forums/topics/54b1adfb4e65693544170000/posts" for ::1 at 2015-01-11 00:22:40 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"TGEuqd7mFfouvKzW9fKu5aswW9gRIzHVS6oLL7ng0SF8MJvyEHeG3CLGJup9pDaPtbELT75p6Sdm85nzRdSR8g==", "post"=>{"text"=>""}, "commit"=>"Create Reply", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 00:22:40 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (14.9ms) Completed 200 OK in 34ms (Views: 32.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:22:40 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:22:40 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:22:40 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:22:40 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:22:40 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new" for ::1 at 2015-01-11 00:23:09 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (3.9ms) Completed 200 OK in 54ms (Views: 28.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:23:09 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:23:09 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:23:09 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:23:09 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:23:09 -0500 Started POST "/forums/topics/54b1adfb4e65693544170000/posts" for ::1 at 2015-01-11 00:23:12 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"IBldwXQdurBpOZqnjWoeMw4VUO3nhUrY6BNAJaNkHckQSOiauowplmVDEJsFPIZZEJQAekjPkirFStL5X1BdGg==", "post"=>{"text"=>"sdfsd"}, "commit"=>"Create Reply", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b208c04e65694803020000'), "text"=>"sdfsd", "topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "reply_to_id"=>nil, "updated_at"=>2015-01-11 05:23:12 UTC, "created_at"=>2015-01-11 05:23:12 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4650ms Redirected to http://localhost:3000/forums/topics/54b1adfb4e65693544170000 Completed 302 Found in 10ms Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 00:23:12 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (16.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (17.9ms) Completed 200 OK in 47ms (Views: 42.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:23:12 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:23:12 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:23:12 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:23:12 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:23:12 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 00:23:16 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (11.1ms) Completed 200 OK in 52ms (Views: 38.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:23:16 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:23:16 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:23:16 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:23:16 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:23:16 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 00:23:17 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (18.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (20.1ms) Completed 200 OK in 50ms (Views: 43.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:23:17 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:23:17 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:23:17 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:23:17 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:23:17 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-11 00:23:18 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:23:18 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (16.4ms) Completed 200 OK in 43ms (Views: 40.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:23:18 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:23:18 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:23:18 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:23:18 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:23:18 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 00:23:43 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (17.4ms) Completed 200 OK in 86ms (Views: 45.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:23:43 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:23:43 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:23:43 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:23:43 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:23:43 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-11 00:23:44 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5930ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (55.6ms) Completed 200 OK in 93ms (Views: 88.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:23:44 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:23:44 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:23:44 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:23:44 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:23:44 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 00:23:46 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"vBdkKaHU6qdKNIE1VKbMrb91h/EbnQ5gHpx7KTubGCyMRtFyb0V5gUZOCwnc8FTHofTXZrTX1pIzxen1x69Y/w==", "topic"=>{"name"=>"sdfsd", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b208e24e65694803040000'), "name"=>"sdfsd", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-11 05:23:46 UTC, "created_at"=>2015-01-11 05:23:46 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b208e24e65694803050000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "text"=>"sdfsdf", "topic_id"=>BSON::ObjectId('54b208e24e65694803040000'), "updated_at"=>2015-01-11 05:23:46 UTC, "created_at"=>2015-01-11 05:23:46 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5960ms Redirected to http://localhost:3000/forums/topics/54b208e24e65694803040000 Completed 302 Found in 15ms Started GET "/forums/topics/54b208e24e65694803040000" for ::1 at 2015-01-11 00:23:46 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b208e24e65694803040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b208e24e65694803040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (1.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.3ms) Completed 200 OK in 35ms (Views: 30.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:23:46 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:23:46 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:23:46 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:23:46 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:23:46 -0500 Started GET "/forums/" for ::1 at 2015-01-11 00:23:51 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (24.3ms) Completed 200 OK in 52ms (Views: 49.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:23:51 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:23:51 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:23:51 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:23:51 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:23:51 -0500 Started GET "/forums/" for ::1 at 2015-01-11 00:23:52 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (16.9ms) Completed 200 OK in 43ms (Views: 40.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:23:52 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:23:52 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:23:52 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:23:52 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:23:52 -0500 Started GET "/forums/admin" for ::1 at 2015-01-11 00:23:56 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6620ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 00:23:56 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (15.0ms) Completed 200 OK in 39ms (Views: 36.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:23:56 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:23:56 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:23:56 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:23:56 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:23:56 -0500 Started GET "/" for ::1 at 2015-01-11 00:24:09 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms Rendered partials/_nav.haml (1.9ms) Completed 200 OK in 31ms (Views: 31.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:24:09 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:24:09 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:24:09 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:24:09 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:24:09 -0500 Started GET "/users/sign_out" for ::1 at 2015-01-11 00:24:11 -0500 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7140ms Redirected to http://localhost:3000/ Completed 302 Found in 7ms Started GET "/" for ::1 at 2015-01-11 00:24:11 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) Rendered partials/_nav.haml (3.9ms) Completed 200 OK in 29ms (Views: 28.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:24:11 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:24:11 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:24:11 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:24:11 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:24:11 -0500 Started GET "/forums/" for ::1 at 2015-01-11 00:24:17 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (40.4ms) Completed 200 OK in 80ms (Views: 72.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:24:17 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:24:17 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:24:17 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:24:17 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:24:17 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 00:24:18 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (9.2ms) Completed 200 OK in 36ms (Views: 32.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:24:18 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:24:18 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:24:18 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:24:18 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:24:18 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-11 00:24:20 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 1ms Started GET "/forums/" for ::1 at 2015-01-11 00:24:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (16.1ms) Completed 200 OK in 39ms (Views: 38.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:24:20 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:24:20 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:24:20 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:24:20 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:24:20 -0500 Started GET "/forums/" for ::1 at 2015-01-11 00:24:42 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (68.2ms) Completed 200 OK in 101ms (Views: 93.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:24:43 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:24:43 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:24:43 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:24:43 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:24:43 -0500 MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_ranks documents=[{"_id"=>BSON::ObjectId('54b209d94e65694863000000'), "admin"=>true, "member_ids"=>[BSON::ObjectId('543bc9ce6e65691bff000000')]}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 20.5200ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('543bc9ce6e65691bff000000')]}}]} update={"$addToSet"=>{"rank_ids"=>BSON::ObjectId('54b209d94e65694863000000')}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.2000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9470ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_ranks documents=[{"_id"=>BSON::ObjectId('54b20bad4e65694894000000'), "members"=>[BSON::ObjectId('543bc9ce6e65691bff000000')], "admin"=>true}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms Started GET "/forums/" for ::1 at 2015-01-11 00:43:53 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (38.4ms) Completed 200 OK in 79ms (Views: 70.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:43:53 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:43:53 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:43:53 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:43:53 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:43:53 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 00:43:54 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (10.3ms) Completed 200 OK in 46ms (Views: 42.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:43:54 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:43:54 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:43:54 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:43:54 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:43:54 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 00:43:57 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.6030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (15.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (17.8ms) Completed 200 OK in 51ms (Views: 45.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:43:57 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:43:57 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:43:57 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:43:57 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:43:57 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/edit" for ::1 at 2015-01-11 00:44:36 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 1ms Started GET "/forums/" for ::1 at 2015-01-11 00:44:36 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (15.6ms) Completed 200 OK in 39ms (Views: 38.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:44:36 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:44:36 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:44:36 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:44:36 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:44:36 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 00:45:06 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (16.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (18.3ms) Completed 200 OK in 71ms (Views: 40.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:45:06 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:45:06 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:45:06 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:45:06 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:45:06 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000.edit" for ::1 at 2015-01-11 00:45:09 -0500 Processing by MongoidForums::TopicsController#show as Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (25.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (31.0ms) Completed 200 OK in 65ms (Views: 59.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:45:09 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:45:09 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:45:09 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:45:09 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:45:09 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/edit" for ::1 at 2015-01-11 00:45:12 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 1ms Started GET "/forums/" for ::1 at 2015-01-11 00:45:12 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (25.6ms) Completed 200 OK in 51ms (Views: 49.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:45:13 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:45:13 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:45:13 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:45:13 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:45:13 -0500 Started GET "/forums/" for ::1 at 2015-01-11 00:45:54 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (103.9ms) Completed 200 OK in 144ms (Views: 135.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:45:55 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:45:55 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:45:55 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:45:55 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:45:55 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 00:46:02 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6280ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (14.3ms) Completed 200 OK in 49ms (Views: 44.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:46:02 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:46:02 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:46:02 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:46:02 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:46:02 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 00:46:04 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (19.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (21.3ms) Completed 200 OK in 54ms (Views: 49.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:46:04 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:46:04 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:46:04 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:46:04 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:46:04 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/edit" for ::1 at 2015-01-11 00:46:06 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:46:06 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (18.9ms) Completed 200 OK in 44ms (Views: 43.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:46:06 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:46:06 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:46:06 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:46:06 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:46:06 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 00:46:28 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (11.0ms) Completed 200 OK in 43ms (Views: 38.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:46:28 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:46:28 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:46:28 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:46:28 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:46:28 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-11 00:46:30 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 2ms Started GET "/forums/" for ::1 at 2015-01-11 00:46:30 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (15.6ms) Completed 200 OK in 43ms (Views: 41.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:46:30 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:46:30 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:46:30 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:46:30 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:46:30 -0500 Started GET "/f" for ::1 at 2015-01-11 00:46:33 -0500 ActionController::RoutingError (No route matches [GET] "/f"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (55.4ms) Started GET "/" for ::1 at 2015-01-11 00:46:36 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) Rendered partials/_nav.haml (0.5ms) Completed 200 OK in 53ms (Views: 53.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:46:36 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:46:36 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:46:36 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:46:36 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:46:36 -0500 Started GET "/users/sign_in" for ::1 at 2015-01-11 00:46:38 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (9.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (23.8ms) Rendered partials/_nav.haml (0.4ms) Completed 200 OK in 57ms (Views: 50.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:46:38 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:46:38 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:46:38 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:46:38 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:46:38 -0500 Started POST "/users/sign_in" for ::1 at 2015-01-11 00:46:41 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"wxB7mD40wcBVAG7hNhqpY9fzSo7XezGkA5quoU6NNqyxAPAK29eA74vuVfRSmh2Q1OcQiToPUmg3OaU70s7Vqg==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"neilj.ny@gmail.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"last_sign_in_at"=>2015-01-11 04:18:23 UTC, "current_sign_in_at"=>2015-01-11 05:46:41 UTC, "sign_in_count"=>9}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6220ms Redirected to http://localhost:3000/ Completed 302 Found in 99ms Started GET "/" for ::1 at 2015-01-11 00:46:41 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8720ms Rendered partials/_nav.haml (2.5ms) Completed 200 OK in 32ms (Views: 31.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:46:42 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:46:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:46:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:46:42 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:46:42 -0500 Started GET "/forums/" for ::1 at 2015-01-11 00:46:46 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (16.4ms) Completed 200 OK in 51ms (Views: 39.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:46:46 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:46:46 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:46:46 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:46:46 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:46:46 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 00:46:47 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (12.3ms) Completed 200 OK in 47ms (Views: 41.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:46:47 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:46:47 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:46:47 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:46:47 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:46:47 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 00:46:50 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (20.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (22.4ms) Completed 200 OK in 52ms (Views: 46.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:46:50 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:46:50 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:46:50 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:46:50 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:46:50 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/edit" for ::1 at 2015-01-11 00:46:52 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-01-11 00:46:52 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (17.1ms) Completed 200 OK in 44ms (Views: 39.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:46:52 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:46:52 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:46:52 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:46:52 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:46:52 -0500 Started GET "/forums/" for ::1 at 2015-01-11 00:47:39 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (40.9ms) Completed 200 OK in 80ms (Views: 64.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:47:40 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:47:40 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:47:40 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:47:40 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:47:40 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 00:47:41 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (9.0ms) Completed 200 OK in 40ms (Views: 32.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:47:42 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:47:42 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:47:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:47:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:47:42 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 00:47:43 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (17.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (19.4ms) Completed 200 OK in 62ms (Views: 55.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:47:44 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:47:44 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:47:44 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:47:44 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:47:44 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/edit" for ::1 at 2015-01-11 00:47:46 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.html.erb within layouts/mongoid_forums/application (0.4ms) Completed 200 OK in 31ms (Views: 27.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:47:47 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:47:47 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:47:47 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:47:47 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:47:47 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/edit" for ::1 at 2015-01-11 00:48:12 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.html.erb within layouts/mongoid_forums/application (0.0ms) Completed 200 OK in 66ms (Views: 51.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:48:12 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:48:12 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:48:12 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:48:12 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:48:12 -0500 Started GET "/forums/topics/54b208e24e65694803040000" for ::1 at 2015-01-11 00:48:18 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b208e24e65694803040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b208e24e65694803040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.8ms) Completed 200 OK in 50ms (Views: 27.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:48:18 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:48:18 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:48:18 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:48:18 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:48:18 -0500 Started GET "/forums/topics/54b208e24e65694803040000" for ::1 at 2015-01-11 00:48:39 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b208e24e65694803040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b208e24e65694803040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (4.4ms) Completed 200 OK in 70ms (Views: 32.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:48:40 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:48:40 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:48:40 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:48:40 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:48:40 -0500 Started GET "/forums/topics/54b208e24e65694803040000/edit" for ::1 at 2015-01-11 00:48:53 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b208e24e65694803040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-01-11 00:48:53 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (24.8ms) Completed 200 OK in 50ms (Views: 47.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:48:53 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:48:53 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:48:53 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:48:53 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:48:53 -0500 Started GET "/forums/topics/54b208e24e65694803040000" for ::1 at 2015-01-11 00:49:25 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b208e24e65694803040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b208e24e65694803040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5890ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.3ms) Completed 200 OK in 93ms (Views: 28.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:49:25 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:49:25 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:49:25 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:49:25 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:49:25 -0500 Started GET "/forums/topics/54b208e24e65694803040000/edit" for ::1 at 2015-01-11 00:49:27 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b208e24e65694803040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-01-11 00:49:27 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (26.9ms) Completed 200 OK in 55ms (Views: 51.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:49:27 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:49:27 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:49:27 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:49:27 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:49:27 -0500 Started GET "/forums/topics/54b208e24e65694803040000" for ::1 at 2015-01-11 00:50:19 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b208e24e65694803040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b208e24e65694803040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (5.5ms) Completed 200 OK in 71ms (Views: 37.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:50:19 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:50:19 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:50:19 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:50:19 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:50:19 -0500 Started GET "/forums/topics/54b208e24e65694803040000/edit" for ::1 at 2015-01-11 00:50:21 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b208e24e65694803040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-01-11 00:50:21 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (29.5ms) Completed 200 OK in 63ms (Views: 59.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:50:21 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:50:21 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:50:21 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:50:21 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:50:21 -0500 Started GET "/forums/topics/54b208e24e65694803040000/edit" for ::1 at 2015-01-11 00:50:40 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b208e24e65694803040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5920ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 16ms Started GET "/forums/" for ::1 at 2015-01-11 00:50:40 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (37.8ms) Completed 200 OK in 69ms (Views: 66.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:50:40 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:50:40 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:50:40 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:50:40 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:50:40 -0500 Started GET "/forums/" for ::1 at 2015-01-11 00:51:25 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (41.3ms) Completed 200 OK in 85ms (Views: 65.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:51:26 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:51:26 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:51:26 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:51:26 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:51:26 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 00:51:27 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (13.3ms) Completed 200 OK in 45ms (Views: 39.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:51:27 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:51:27 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:51:27 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:51:27 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:51:27 -0500 Started GET "/forums/topics/54b208e24e65694803040000/edit" for ::1 at 2015-01-11 00:51:30 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b208e24e65694803040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-01-11 00:51:31 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (14.7ms) Completed 200 OK in 39ms (Views: 35.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:51:31 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:51:31 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:51:31 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:51:31 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:51:31 -0500 Started GET "/forums/topics/54b208e24e65694803040000/edit" for ::1 at 2015-01-11 00:51:53 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b208e24e65694803040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 15ms Started GET "/forums/" for ::1 at 2015-01-11 00:51:53 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (37.2ms) Completed 200 OK in 72ms (Views: 68.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:51:53 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:51:53 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:51:53 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:51:53 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:51:53 -0500 Started GET "/forums/topics/54b208e24e65694803040000/edit" for ::1 at 2015-01-11 00:52:15 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b208e24e65694803040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6010ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 68ms Started GET "/forums/" for ::1 at 2015-01-11 00:52:15 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (59.3ms) Completed 200 OK in 123ms (Views: 118.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:52:16 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:52:16 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:52:16 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:52:16 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:52:16 -0500 Started GET "/forums/" for ::1 at 2015-01-11 00:54:00 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (39.2ms) Completed 200 OK in 87ms (Views: 65.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:54:01 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:54:01 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:54:01 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:54:01 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:54:01 -0500 Started GET "/forums/topics/54b208e24e65694803040000/edit" for ::1 at 2015-01-11 00:54:03 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b208e24e65694803040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-01-11 00:54:03 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (16.0ms) Completed 200 OK in 38ms (Views: 35.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:54:03 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:54:03 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:54:03 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:54:03 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:54:03 -0500 Started GET "/forums/" for ::1 at 2015-01-11 00:56:48 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (38.3ms) Completed 200 OK in 80ms (Views: 63.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:56:48 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:56:48 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:56:48 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:56:48 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:56:48 -0500 Started GET "/forums/topics/54b208e24e65694803040000/edit" for ::1 at 2015-01-11 00:56:52 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b208e24e65694803040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 5ms Started GET "/forums/" for ::1 at 2015-01-11 00:56:52 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (23.3ms) Completed 200 OK in 68ms (Views: 64.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:56:52 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:56:52 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:56:52 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:56:52 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:56:52 -0500 Started GET "/forums/" for ::1 at 2015-01-11 00:57:35 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (84.9ms) Completed 200 OK in 128ms (Views: 112.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:57:35 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:57:35 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:57:35 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:57:35 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:57:35 -0500 Started GET "/forums/topics/54b208e24e65694803040000/edit" for ::1 at 2015-01-11 00:57:39 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b208e24e65694803040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7120ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 5ms Started GET "/forums/" for ::1 at 2015-01-11 00:57:39 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3100ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (15.5ms) Completed 200 OK in 42ms (Views: 38.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:57:39 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:57:39 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:57:39 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:57:39 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:57:39 -0500 Started GET "/forums/topics/54b208e24e65694803040000/edit" for ::1 at 2015-01-11 00:57:58 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b208e24e65694803040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 14ms Started GET "/forums/" for ::1 at 2015-01-11 00:57:58 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (35.6ms) Completed 200 OK in 59ms (Views: 55.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 00:57:58 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 00:57:58 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 00:57:58 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 00:57:58 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 00:57:58 -0500 Started GET "/forums/" for ::1 at 2015-01-11 01:00:26 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (39.1ms) Completed 200 OK in 81ms (Views: 63.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:00:26 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:00:26 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:00:26 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:00:26 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:00:26 -0500 Started GET "/forums/topics/54b208e24e65694803040000/edit" for ::1 at 2015-01-11 01:00:29 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b208e24e65694803040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b208e24e65694803040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.html.erb within layouts/mongoid_forums/application (0.4ms) Completed 200 OK in 36ms (Views: 28.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:00:29 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:00:29 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:00:29 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:00:29 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:00:29 -0500 Started GET "/forums/topics/54b208e24e65694803040000/edit" for ::1 at 2015-01-11 01:00:54 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b208e24e65694803040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b208e24e65694803040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4740ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.html.erb within layouts/mongoid_forums/application (0.1ms) Completed 200 OK in 52ms (Views: 31.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:00:54 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:00:54 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:00:54 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:00:54 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:00:54 -0500 Started GET "/forums/topics/54b208e24e65694803040000/edit" for ::1 at 2015-01-11 01:01:04 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b208e24e65694803040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b208e24e65694803040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4560ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 31ms Started GET "/forums/" for ::1 at 2015-01-11 01:01:04 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (34.4ms) Completed 200 OK in 63ms (Views: 59.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:01:04 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:01:04 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:01:04 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:01:04 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:01:04 -0500 Started GET "/forums/topics/54b208e24e65694803040000" for ::1 at 2015-01-11 01:01:08 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b208e24e65694803040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b208e24e65694803040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (20.7ms) Completed 200 OK in 71ms (Views: 43.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:01:08 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:01:08 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:01:08 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:01:08 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:01:08 -0500 Started GET "/forums/topics/54b208e24e65694803040000/edit" for ::1 at 2015-01-11 01:01:11 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b208e24e65694803040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b208e24e65694803040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.html.erb within layouts/mongoid_forums/application (0.1ms) Completed 200 OK in 55ms (Views: 50.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:01:11 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:01:11 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:01:11 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:01:11 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:01:11 -0500 Started GET "/forums/topics/54b208e24e65694803040000/edit" for ::1 at 2015-01-11 01:01:37 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b208e24e65694803040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b208e24e65694803040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4790ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.html.erb within layouts/mongoid_forums/application (0.1ms) Completed 200 OK in 48ms (Views: 25.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:01:37 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:01:37 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:01:37 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:01:37 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:01:37 -0500 Started GET "/forums/topics/54b208e24e65694803040000" for ::1 at 2015-01-11 01:01:40 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b208e24e65694803040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b208e24e65694803040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.8ms) Completed 200 OK in 37ms (Views: 23.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:01:40 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:01:40 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:01:40 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:01:40 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:01:40 -0500 Started GET "/forums/topics/54b208e24e65694803040000/posts/new" for ::1 at 2015-01-11 01:01:41 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b208e24e65694803040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b208e24e65694803040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (2.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (13.0ms) Completed 200 OK in 48ms (Views: 42.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:01:42 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:01:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:01:42 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:01:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:01:42 -0500 Started GET "/forums/54b163bf4e656920a7000000/edit" for ::1 at 2015-01-11 01:01:51 -0500 AbstractController::ActionNotFound (The action 'edit' could not be found for MongoidForums::ForumsController): actionpack (4.2.0) lib/abstract_controller/base.rb:132:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb within rescues/layout (0.7ms) Started GET "/forums/admin" for ::1 at 2015-01-11 01:01:57 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-01-11 01:01:57 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (21.5ms) Completed 200 OK in 66ms (Views: 62.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:01:58 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:01:58 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:01:58 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:01:58 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:01:58 -0500 Started GET "/forums/" for ::1 at 2015-01-11 01:02:17 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (43.1ms) Completed 200 OK in 81ms (Views: 66.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:02:17 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:02:17 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:02:17 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:02:17 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:02:17 -0500 Started GET "/forums/admin" for ::1 at 2015-01-11 01:02:22 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (1.7ms) Completed 200 OK in 36ms (Views: 33.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:02:22 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:02:22 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:02:22 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:02:22 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:02:22 -0500 Started GET "/forums/admin/forums/new" for ::1 at 2015-01-11 01:02:24 -0500 Processing by MongoidForums::Admin::ForumsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4300ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/forums/new.haml within layouts/mongoid_forums/application (51.7ms) Completed 200 OK in 78ms (Views: 74.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:02:24 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:02:24 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:02:24 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:02:24 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:02:24 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 01:02:28 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (13.3ms) Completed 200 OK in 44ms (Views: 36.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:02:28 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:02:28 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:02:28 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:02:28 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:02:28 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 01:06:06 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (42.6ms) Completed 200 OK in 159ms (Views: 108.6ms) Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:06:06 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:06:06 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:06:06 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:06:06 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:06:06 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 01:20:23 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms Completed 500 Internal Server Error in 9ms NameError (undefined local variable or method `resource' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/permission.rb:52:in `allow_param' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/permission.rb:21:in `initialize' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:21:in `new' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:21:in `current_permission' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:30:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (20.7ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 01:20:39 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (22.5ms) Completed 200 OK in 69ms (Views: 43.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:20:39 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:20:39 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:20:39 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:20:39 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:20:39 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 01:20:40 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (20.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (27.2ms) Completed 200 OK in 74ms (Views: 67.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:20:40 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:20:40 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:20:40 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:20:40 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:20:40 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new" for ::1 at 2015-01-11 01:20:41 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (12.2ms) Completed 200 OK in 40ms (Views: 35.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:20:42 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:20:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:20:42 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:20:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:20:42 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 01:20:53 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (18.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (20.0ms) Completed 200 OK in 49ms (Views: 43.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:20:53 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:20:53 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:20:53 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:20:53 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:20:53 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new" for ::1 at 2015-01-11 01:20:55 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6530ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (2.8ms) Completed 200 OK in 31ms (Views: 23.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:20:55 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:20:55 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:20:55 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:20:55 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:20:55 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-11 01:20:57 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (82.9ms) Completed 200 OK in 122ms (Views: 117.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:20:57 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:20:57 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:20:57 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:20:57 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:20:57 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 01:20:59 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3060ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (15.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (17.2ms) Completed 200 OK in 48ms (Views: 41.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:20:59 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:20:59 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:20:59 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:20:59 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:20:59 -0500 Started GET "/" for ::1 at 2015-01-11 01:21:06 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6990ms Rendered partials/_nav.haml (3.5ms) Completed 200 OK in 28ms (Views: 27.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:21:06 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:21:06 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:21:06 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:21:06 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:21:06 -0500 Started GET "/users/sign_out" for ::1 at 2015-01-11 01:21:08 -0500 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms Redirected to http://localhost:3000/ Completed 302 Found in 5ms Started GET "/" for ::1 at 2015-01-11 01:21:08 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) Rendered partials/_nav.haml (3.3ms) Completed 200 OK in 23ms (Views: 23.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:21:08 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:21:08 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:21:08 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:21:08 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:21:08 -0500 Started GET "/users/sign_in" for ::1 at 2015-01-11 01:21:09 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (6.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (23.2ms) Rendered partials/_nav.haml (0.4ms) Completed 200 OK in 60ms (Views: 50.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:21:09 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:21:09 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:21:09 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:21:09 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:21:09 -0500 Started GET "/users/sign_up" for ::1 at 2015-01-11 01:21:11 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/registrations/new.html.erb within layouts/application (10.3ms) Rendered partials/_nav.haml (0.3ms) Completed 200 OK in 37ms (Views: 35.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:21:11 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:21:11 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:21:11 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:21:11 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:21:11 -0500 Started POST "/users" for ::1 at 2015-01-11 01:21:21 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"93WzCTagb8+ePNt03LyyD7bop4uyFUxly2DCieF3VptP/Jf1eflKby8obmgpOTmbx0ULPRroCzqDX65H9X6/6w==", "user"=>{"email"=>"user@njay.net", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"email"=>"user@njay.net"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 9.0360ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=users documents=[{"_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "email"=>"user@njay.net", "encrypted_password"=>"$2a$10$G1nbOcR5Te2PX8bKopsOCe2DssM.7WB3V/Ml6Jq2h9IaymOhIl2m6", "sign_in_count"=>0}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6950ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"last_sign_in_at"=>2015-01-11 06:21:22 UTC, "current_sign_in_at"=>2015-01-11 06:21:22 UTC, "last_sign_in_ip"=>"::1", "current_sign_in_ip"=>"::1", "sign_in_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7400ms Redirected to http://localhost:3000/ Completed 302 Found in 112ms Started GET "/" for ::1 at 2015-01-11 01:21:22 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms Rendered partials/_nav.haml (1.4ms) Completed 200 OK in 18ms (Views: 18.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:21:22 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:21:22 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:21:22 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:21:22 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:21:22 -0500 Started GET "/forums/" for ::1 at 2015-01-11 01:21:27 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms Completed 500 Internal Server Error in 3ms NoMethodError (undefined method `admin' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/permission.rb:25:in `initialize' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:21:in `new' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:21:in `current_permission' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:30:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (14.6ms) Started GET "/forums/" for ::1 at 2015-01-11 01:21:40 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (36.8ms) Completed 200 OK in 79ms (Views: 67.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:21:40 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:21:40 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:21:40 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:21:40 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:21:40 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 01:21:41 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (7.8ms) Completed 200 OK in 31ms (Views: 27.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:21:41 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:21:41 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:21:41 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:21:41 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:21:41 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 01:21:42 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (16.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (18.0ms) Completed 200 OK in 43ms (Views: 37.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:21:43 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:21:43 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:21:43 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:21:43 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:21:43 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new?reply_to_id=54b1f5224e656942f2110000" for ::1 at 2015-01-11 01:21:45 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1f5224e656942f2110000", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5224e656942f2110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (8.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (14.2ms) Completed 200 OK in 42ms (Views: 37.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:21:45 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:21:45 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:21:45 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:21:45 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:21:45 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/edit" for ::1 at 2015-01-11 01:21:49 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 5ms Started GET "/forums/" for ::1 at 2015-01-11 01:21:49 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (14.4ms) Completed 200 OK in 54ms (Views: 51.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:21:49 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:21:49 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:21:49 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:21:49 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:21:49 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 01:21:53 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (10.9ms) Completed 200 OK in 41ms (Views: 36.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:21:53 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:21:53 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:21:53 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:21:53 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:21:53 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 01:21:54 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (14.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (16.2ms) Completed 200 OK in 41ms (Views: 35.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:21:54 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:21:54 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:21:54 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:21:54 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:21:54 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new" for ::1 at 2015-01-11 01:21:56 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (4.4ms) Completed 200 OK in 30ms (Views: 24.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:21:56 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:21:56 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:21:56 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:21:56 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:21:56 -0500 Started POST "/forums/topics/54b1adfb4e65693544170000/posts" for ::1 at 2015-01-11 01:22:00 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"pLH5tIWA1K7tHvkxxse7leczzGrAdGD3k8e5s/93UxocON1IytnxDlwKTC0zQjABlp5g3GiJJ6jb+NV96366ag==", "post"=>{"text"=>"my reply"}, "commit"=>"Create Reply", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4000ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b216884e65694a2c060000'), "text"=>"my reply", "topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-11 06:22:00 UTC, "created_at"=>2015-01-11 06:22:00 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6050ms Redirected to http://localhost:3000/forums/topics/54b1adfb4e65693544170000 Completed 302 Found in 10ms Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 01:22:00 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (16.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (18.0ms) Completed 200 OK in 45ms (Views: 39.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:22:00 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:22:00 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:22:00 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:22:00 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:22:00 -0500 Started GET "/forums/admin" for ::1 at 2015-01-11 01:22:21 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 01:22:21 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (13.5ms) Completed 200 OK in 36ms (Views: 33.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:22:21 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:22:21 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:22:21 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:22:21 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:22:21 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 01:22:22 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (10.4ms) Completed 200 OK in 34ms (Views: 26.9ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:22:22 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:22:22 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:22:22 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:22:22 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:22:22 -0500 Started GET "/forums/topics/54b208e24e65694803040000" for ::1 at 2015-01-11 01:22:24 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b208e24e65694803040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b208e24e65694803040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (1.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.3ms) Completed 200 OK in 25ms (Views: 20.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:22:24 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:22:24 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:22:24 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:22:24 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:22:24 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-11 01:22:25 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (4.5ms) Completed 200 OK in 43ms (Views: 37.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:22:26 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:22:26 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:22:26 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:22:26 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:22:26 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 01:22:28 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"B6qRbKlcwsAtGfghSkdTTHF3y9Zq8I4Ao852Cn7H4FS/I7WQ5gXnYJwNTT2/wtjYANpnYMINyV/r8RrEas4JJA==", "topic"=>{"name"=>"sfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms Unpermitted parameter: posts MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms Completed 500 Internal Server Error in 7ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:30:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (14.8ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 01:24:06 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"B6qRbKlcwsAtGfghSkdTTHF3y9Zq8I4Ao852Cn7H4FS/I7WQ5gXnYJwNTT2/wtjYANpnYMINyV/r8RrEas4JJA==", "topic"=>{"name"=>"sfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms Unpermitted parameter: posts MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms Completed 500 Internal Server Error in 36ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:30:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (15.6ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 01:24:42 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"B6qRbKlcwsAtGfghSkdTTHF3y9Zq8I4Ao852Cn7H4FS/I7WQ5gXnYJwNTT2/wtjYANpnYMINyV/r8RrEas4JJA==", "topic"=>{"name"=>"sfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms Unpermitted parameter: posts MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms Completed 500 Internal Server Error in 57ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:30:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (17.4ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 01:25:02 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"B6qRbKlcwsAtGfghSkdTTHF3y9Zq8I4Ao852Cn7H4FS/I7WQ5gXnYJwNTT2/wtjYANpnYMINyV/r8RrEas4JJA==", "topic"=>{"name"=>"sfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms Unpermitted parameter: posts MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms Completed 500 Internal Server Error in 38ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:30:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (13.3ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 01:25:13 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"B6qRbKlcwsAtGfghSkdTTHF3y9Zq8I4Ao852Cn7H4FS/I7WQ5gXnYJwNTT2/wtjYANpnYMINyV/r8RrEas4JJA==", "topic"=>{"name"=>"sfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms Completed 500 Internal Server Error in 15ms NoMethodError (undefined method `permit_params!' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:31:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (17.5ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 01:25:50 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"B6qRbKlcwsAtGfghSkdTTHF3y9Zq8I4Ao852Cn7H4FS/I7WQ5gXnYJwNTT2/wtjYANpnYMINyV/r8RrEas4JJA==", "topic"=>{"name"=>"sfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms Unpermitted parameter: posts MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms Completed 500 Internal Server Error in 37ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:30:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (17.0ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 01:26:31 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"B6qRbKlcwsAtGfghSkdTTHF3y9Zq8I4Ao852Cn7H4FS/I7WQ5gXnYJwNTT2/wtjYANpnYMINyV/r8RrEas4JJA==", "topic"=>{"name"=>"sfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms Unpermitted parameter: posts MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms Completed 500 Internal Server Error in 35ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:30:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (17.8ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 01:26:46 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"B6qRbKlcwsAtGfghSkdTTHF3y9Zq8I4Ao852Cn7H4FS/I7WQ5gXnYJwNTT2/wtjYANpnYMINyV/r8RrEas4JJA==", "topic"=>{"name"=>"sfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.8210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.0000ms Unpermitted parameter: posts MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 5.1680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6640ms Completed 500 Internal Server Error in 276ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:30:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (34.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (49.3ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 01:27:25 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"B6qRbKlcwsAtGfghSkdTTHF3y9Zq8I4Ao852Cn7H4FS/I7WQ5gXnYJwNTT2/wtjYANpnYMINyV/r8RrEas4JJA==", "topic"=>{"name"=>"sfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2230ms Unpermitted parameter: posts MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3500ms Completed 500 Internal Server Error in 130ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:30:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (27.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (13.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (6.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (106.3ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 01:27:32 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"B6qRbKlcwsAtGfghSkdTTHF3y9Zq8I4Ao852Cn7H4FS/I7WQ5gXnYJwNTT2/wtjYANpnYMINyV/r8RrEas4JJA==", "topic"=>{"name"=>"sfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2370ms Unpermitted parameter: posts MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3020ms Completed 500 Internal Server Error in 118ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:30:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (15.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (7.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (58.4ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 01:29:03 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"B6qRbKlcwsAtGfghSkdTTHF3y9Zq8I4Ao852Cn7H4FS/I7WQ5gXnYJwNTT2/wtjYANpnYMINyV/r8RrEas4JJA==", "topic"=>{"name"=>"sfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms Unpermitted parameter: posts MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6750ms Completed 500 Internal Server Error in 39ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:30:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (15.6ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 01:29:04 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"B6qRbKlcwsAtGfghSkdTTHF3y9Zq8I4Ao852Cn7H4FS/I7WQ5gXnYJwNTT2/wtjYANpnYMINyV/r8RrEas4JJA==", "topic"=>{"name"=>"sfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5930ms Unpermitted parameter: posts MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms Completed 500 Internal Server Error in 9ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:30:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (21.7ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 01:31:04 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"B6qRbKlcwsAtGfghSkdTTHF3y9Zq8I4Ao852Cn7H4FS/I7WQ5gXnYJwNTT2/wtjYANpnYMINyV/r8RrEas4JJA==", "topic"=>{"name"=>"sfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.0290ms Completed 500 Internal Server Error in 137ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:30:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (14.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (7.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (56.9ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 01:32:52 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"B6qRbKlcwsAtGfghSkdTTHF3y9Zq8I4Ao852Cn7H4FS/I7WQ5gXnYJwNTT2/wtjYANpnYMINyV/r8RrEas4JJA==", "topic"=>{"name"=>"sfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4550ms Unpermitted parameter: posts MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2240ms Completed 500 Internal Server Error in 145ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:30:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (15.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (7.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (60.9ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 01:36:48 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"B6qRbKlcwsAtGfghSkdTTHF3y9Zq8I4Ao852Cn7H4FS/I7WQ5gXnYJwNTT2/wtjYANpnYMINyV/r8RrEas4JJA==", "topic"=>{"name"=>"sfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2460ms Unpermitted parameter: posts MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1210ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (15.4ms) Completed 200 OK in 217ms (Views: 92.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:36:49 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:36:49 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:36:49 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:36:49 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:36:49 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 01:36:56 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"B6qRbKlcwsAtGfghSkdTTHF3y9Zq8I4Ao852Cn7H4FS/I7WQ5gXnYJwNTT2/wtjYANpnYMINyV/r8RrEas4JJA==", "topic"=>{"name"=>"sfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3360ms Unpermitted parameter: posts MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3000ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (14.8ms) Completed 200 OK in 325ms (Views: 151.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:36:57 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:36:57 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:36:57 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:36:57 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:36:57 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 01:37:00 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"B6qRbKlcwsAtGfghSkdTTHF3y9Zq8I4Ao852Cn7H4FS/I7WQ5gXnYJwNTT2/wtjYANpnYMINyV/r8RrEas4JJA==", "topic"=>{"name"=>"sfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1850ms Unpermitted parameter: posts MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3050ms Completed 500 Internal Server Error in 121ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:30:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (16.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (7.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (60.8ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 01:38:09 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"B6qRbKlcwsAtGfghSkdTTHF3y9Zq8I4Ao852Cn7H4FS/I7WQ5gXnYJwNTT2/wtjYANpnYMINyV/r8RrEas4JJA==", "topic"=>{"name"=>"sfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2740ms Unpermitted parameters: name, posts MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4670ms Completed 500 Internal Server Error in 189ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:30:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (18.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (11.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (4.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (82.6ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 01:38:17 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"B6qRbKlcwsAtGfghSkdTTHF3y9Zq8I4Ao852Cn7H4FS/I7WQ5gXnYJwNTT2/wtjYANpnYMINyV/r8RrEas4JJA==", "topic"=>{"name"=>"sfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.4430ms Completed 500 Internal Server Error in 32ms ArgumentError (wrong number of arguments (1 for 2)): /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/permission.rb:51:in `allow_param' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/permission.rb:21:in `initialize' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:21:in `new' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:21:in `current_permission' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:30:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (14.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (8.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (5.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (61.4ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 01:38:46 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"B6qRbKlcwsAtGfghSkdTTHF3y9Zq8I4Ao852Cn7H4FS/I7WQ5gXnYJwNTT2/wtjYANpnYMINyV/r8RrEas4JJA==", "topic"=>{"name"=>"sfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1450ms Unpermitted parameter: posts MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3190ms Completed 500 Internal Server Error in 121ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:30:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (15.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (6.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (58.0ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 01:38:56 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"B6qRbKlcwsAtGfghSkdTTHF3y9Zq8I4Ao852Cn7H4FS/I7WQ5gXnYJwNTT2/wtjYANpnYMINyV/r8RrEas4JJA==", "topic"=>{"name"=>"sfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} Completed 500 Internal Server Error in 20ms SyntaxError (/Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/permission.rb:21: syntax error, unexpected '}', expecting => allow_param :topic, [:name, posts: {:text}] ^): /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/permission.rb:21: syntax error, unexpected '}', expecting => allow_param :topic, [:name, posts: {:text}] ^ activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load' activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:647:in `new_constants_in' activesupport (4.2.0) lib/active_support/dependencies.rb:456:in `load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:354:in `require_or_load' activesupport (4.2.0) lib/active_support/dependencies.rb:494:in `load_missing_constant' activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' activesupport (4.2.0) lib/active_support/dependencies.rb:526:in `load_missing_constant' activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:21:in `current_permission' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:30:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (16.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (7.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (4.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (59.9ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 01:39:11 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"B6qRbKlcwsAtGfghSkdTTHF3y9Zq8I4Ao852Cn7H4FS/I7WQ5gXnYJwNTT2/wtjYANpnYMINyV/r8RrEas4JJA==", "topic"=>{"name"=>"sfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2820ms Unpermitted parameter: posts MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3610ms Completed 500 Internal Server Error in 125ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:30:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (15.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (7.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (58.1ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 01:41:38 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"B6qRbKlcwsAtGfghSkdTTHF3y9Zq8I4Ao852Cn7H4FS/I7WQ5gXnYJwNTT2/wtjYANpnYMINyV/r8RrEas4JJA==", "topic"=>{"name"=>"sfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3920ms Unpermitted parameter: name MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3060ms Completed 500 Internal Server Error in 127ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:30:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (16.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (7.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (4.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (59.6ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 01:41:57 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"B6qRbKlcwsAtGfghSkdTTHF3y9Zq8I4Ao852Cn7H4FS/I7WQ5gXnYJwNTT2/wtjYANpnYMINyV/r8RrEas4JJA==", "topic"=>{"name"=>"sfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2950ms Unpermitted parameter: name MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2620ms Completed 500 Internal Server Error in 129ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:30:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (18.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (9.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (4.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (71.7ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 01:43:03 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"B6qRbKlcwsAtGfghSkdTTHF3y9Zq8I4Ao852Cn7H4FS/I7WQ5gXnYJwNTT2/wtjYANpnYMINyV/r8RrEas4JJA==", "topic"=>{"name"=>"sfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3040ms Completed 500 Internal Server Error in 125ms NoMethodError (undefined method `[]' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:30:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (17.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (8.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (69.9ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 01:43:23 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"B6qRbKlcwsAtGfghSkdTTHF3y9Zq8I4Ao852Cn7H4FS/I7WQ5gXnYJwNTT2/wtjYANpnYMINyV/r8RrEas4JJA==", "topic"=>{"name"=>"sfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.6750ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000'), "name"=>"sfsdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-11 06:43:23 UTC, "created_at"=>2015-01-11 06:43:23 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdfsdf", "topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000'), "updated_at"=>2015-01-11 06:43:23 UTC, "created_at"=>2015-01-11 06:43:23 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.4530ms Redirected to http://localhost:3000/forums/topics/54b21b8b4e65694a2c200000 Completed 302 Found in 154ms Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 01:43:23 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2970ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (10.5ms) Completed 200 OK in 118ms (Views: 102.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:43:23 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:43:23 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:43:24 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:43:24 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:43:24 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 01:43:27 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3260ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.9ms) Completed 200 OK in 287ms (Views: 269.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:43:28 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:43:28 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:43:28 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:43:28 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:43:28 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 01:47:26 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 2.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2970ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (51.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (74.6ms) Completed 200 OK in 401ms (Views: 242.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:47:26 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:47:26 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:47:26 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:47:26 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:47:26 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/new?reply_to_id=54b21b8b4e65694a2c210000" for ::1 at 2015-01-11 01:47:30 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b21b8b4e65694a2c210000", "topic_id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 2.1190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3000ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (27.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (63.2ms) Completed 200 OK in 171ms (Views: 149.9ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:47:31 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:47:31 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:47:31 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:47:31 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:47:31 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b21b8b4e65694a2c210000/edit" for ::1 at 2015-01-11 01:47:39 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b21b8b4e65694a2c210000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6430ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 9ms Started GET "/forums/" for ::1 at 2015-01-11 01:47:39 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0690ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (74.1ms) Completed 200 OK in 170ms (Views: 160.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:47:39 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:47:39 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:47:39 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:47:39 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:47:39 -0500 Started GET "/" for ::1 at 2015-01-11 01:48:31 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (1.2ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5680ms Rendered partials/_nav.haml (10.6ms) Completed 200 OK in 107ms (Views: 105.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:48:31 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:48:31 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:48:31 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:48:31 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:48:31 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 01:48:35 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4510ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (87.6ms) Completed 200 OK in 368ms (Views: 189.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:48:35 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:48:35 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:48:35 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:48:35 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:48:35 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 01:48:38 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3070ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (10.3ms) Completed 200 OK in 110ms (Views: 94.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:48:38 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:48:38 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:48:38 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:48:38 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:48:38 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/new?reply_to_id=54b21b8b4e65694a2c210000" for ::1 at 2015-01-11 01:48:42 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b21b8b4e65694a2c210000", "topic_id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0510ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (15.5ms) Completed 200 OK in 141ms (Views: 121.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:48:42 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:48:42 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:48:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:48:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:48:42 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b21b8b4e65694a2c210000" for ::1 at 2015-01-11 01:48:48 -0500 Processing by MongoidForums::PostsController#show as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b21b8b4e65694a2c210000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1440ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 12ms Started GET "/forums/" for ::1 at 2015-01-11 01:48:48 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6030ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (47.6ms) Completed 200 OK in 130ms (Views: 123.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:48:48 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:48:48 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:48:48 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:48:48 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:48:48 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b21b8b4e65694a2c210000/edit" for ::1 at 2015-01-11 01:48:53 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b21b8b4e65694a2c210000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1220ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 14ms Started GET "/forums/" for ::1 at 2015-01-11 01:48:53 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4200ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (48.3ms) Completed 200 OK in 209ms (Views: 201.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:48:54 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:48:54 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:48:54 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:48:54 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:48:54 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 01:49:06 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.6830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2240ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (39.3ms) Completed 200 OK in 133ms (Views: 116.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:49:07 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:49:07 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:49:07 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:49:07 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:49:07 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-11 01:49:09 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1880ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (115.5ms) Completed 200 OK in 216ms (Views: 196.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:49:09 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:49:09 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:49:09 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:49:09 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:49:09 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 01:49:11 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1270ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (52.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (57.7ms) Completed 200 OK in 146ms (Views: 129.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:49:12 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:49:12 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:49:12 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:49:12 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:49:12 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/edit" for ::1 at 2015-01-11 01:49:14 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.0950ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 15ms Started GET "/forums/" for ::1 at 2015-01-11 01:49:14 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (43.2ms) Completed 200 OK in 121ms (Views: 113.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:49:14 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:49:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:49:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:49:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:49:14 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 01:49:17 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.0670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3340ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (39.2ms) Completed 200 OK in 126ms (Views: 110.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:49:18 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:49:18 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:49:18 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:49:18 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:49:18 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 01:49:19 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3520ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (10.3ms) Completed 200 OK in 97ms (Views: 78.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:49:19 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:49:19 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:49:19 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:49:19 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:49:19 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/edit" for ::1 at 2015-01-11 01:49:22 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.4720ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.haml within layouts/mongoid_forums/application (3.8ms) Completed 200 OK in 93ms (Views: 79.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:49:22 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:49:22 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:49:22 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:49:22 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:49:22 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b21b8b4e65694a2c210000/edit" for ::1 at 2015-01-11 01:49:28 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b21b8b4e65694a2c210000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2220ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 10ms Started GET "/forums/" for ::1 at 2015-01-11 01:49:28 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0890ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (42.9ms) Completed 200 OK in 148ms (Views: 140.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:49:29 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:49:29 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:49:29 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:49:29 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:49:29 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 01:50:11 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.6100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3530ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (12.8ms) Completed 200 OK in 228ms (Views: 110.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:50:12 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:50:12 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:50:12 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:50:12 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:50:12 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b21b8b4e65694a2c210000/edit" for ::1 at 2015-01-11 01:50:14 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b21b8b4e65694a2c210000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2620ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 14ms Started GET "/forums/" for ::1 at 2015-01-11 01:50:14 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1150ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (60.8ms) Completed 200 OK in 137ms (Views: 129.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 01:50:15 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 01:50:15 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 01:50:15 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 01:50:15 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 01:50:15 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 01:50:50 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.2400ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (60.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (66.4ms) Completed 500 Internal Server Error in 184ms ActionView::Template::Error (undefined method `post_edit_path' for #<#:0x007faf29513878>): 1: %br 2: = post_edit_path(post) 3: = post.user.forum_display_name 4: - if post.reply_to_id 5: replied to /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml___3457633357376401981_70195144624780' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:5:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__2113270188239507032_70195099568760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (26.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (10.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (74.9ms) Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 01:51:17 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3710ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (46.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (50.6ms) Completed 500 Internal Server Error in 75ms ActionView::Template::Error (undefined method `edit_topic_post' for #<#:0x007faf292a1b58>): 1: %br 2: = edit_topic_post(post) 3: = post.user.forum_display_name 4: - if post.reply_to_id 5: replied to /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml___3457633357376401981_70195143267740' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:5:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__2113270188239507032_70195099568760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (28.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (10.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (78.5ms) Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 01:51:23 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2400ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (15.0ms) Completed 500 Internal Server Error in 39ms ActionView::Template::Error (No route matches {:action=>"edit", :controller=>"mongoid_forums/posts", :format=>nil, :id=>nil, :topic_id=>#} missing required keys: [:id]): 1: %br 2: = edit_topic_post_path(post) 3: = post.user.forum_display_name 4: - if post.reply_to_id 5: replied to actionpack (4.2.0) lib/action_dispatch/journey/formatter.rb:46:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:710:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:741:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:784:in `url_for' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:279:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:222:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:334:in `block (2 levels) in define_url_helper' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml___3457633357376401981_70195106572880' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:5:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__2113270188239507032_70195099568760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (29.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (10.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (83.3ms) Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:04:28 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 5.2810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 9.0640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 8.7390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.1420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.8350ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (13.0ms) Completed 500 Internal Server Error in 87ms ActionView::Template::Error (No route matches {:action=>"edit", :controller=>"mongoid_forums/posts", :format=>nil, :id=>nil, :topic_id=>#} missing required keys: [:id]): 1: %br 2: = edit_topic_post_path(post) 3: = post.user.forum_display_name 4: - if post.reply_to_id 5: replied to actionpack (4.2.0) lib/action_dispatch/journey/formatter.rb:46:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:710:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:741:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:784:in `url_for' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:279:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:222:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:334:in `block (2 levels) in define_url_helper' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml___3457633357376401981_70195106572880' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:5:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__2113270188239507032_70195099568760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (13.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (35.7ms) Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:04:29 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9900ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (4.7ms) Completed 500 Internal Server Error in 16ms ActionView::Template::Error (No route matches {:action=>"edit", :controller=>"mongoid_forums/posts", :format=>nil, :id=>nil, :topic_id=>#} missing required keys: [:id]): 1: %br 2: = edit_topic_post_path(post) 3: = post.user.forum_display_name 4: - if post.reply_to_id 5: replied to actionpack (4.2.0) lib/action_dispatch/journey/formatter.rb:46:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:710:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:741:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:784:in `url_for' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:279:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:222:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:334:in `block (2 levels) in define_url_helper' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml___3457633357376401981_70195106572880' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:5:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__2113270188239507032_70195099568760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (29.1ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 09:04:42 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.2300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (16.1ms) Completed 200 OK in 60ms (Views: 43.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:04:42 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:04:42 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:04:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:04:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:04:42 -0500 Started GET "/forums/topics/54b208e24e65694803040000" for ::1 at 2015-01-11 09:04:44 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b208e24e65694803040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b208e24e65694803040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (1.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.7ms) Completed 500 Internal Server Error in 12ms ActionView::Template::Error (No route matches {:action=>"edit", :controller=>"mongoid_forums/posts", :format=>nil, :id=>nil, :topic_id=>#} missing required keys: [:id]): 1: %br 2: = edit_topic_post_path(post) 3: = post.user.forum_display_name 4: - if post.reply_to_id 5: replied to actionpack (4.2.0) lib/action_dispatch/journey/formatter.rb:46:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:710:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:741:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:784:in `url_for' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:279:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:222:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:334:in `block (2 levels) in define_url_helper' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml___3457633357376401981_70195106572880' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:5:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__2113270188239507032_70195099568760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.7ms) Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 09:04:47 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4560ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (1.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (4.4ms) Completed 500 Internal Server Error in 12ms ActionView::Template::Error (No route matches {:action=>"edit", :controller=>"mongoid_forums/posts", :format=>nil, :id=>nil, :topic_id=>#} missing required keys: [:id]): 1: %br 2: = edit_topic_post_path(post) 3: = post.user.forum_display_name 4: - if post.reply_to_id 5: replied to actionpack (4.2.0) lib/action_dispatch/journey/formatter.rb:46:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:710:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:741:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:784:in `url_for' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:279:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:222:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:334:in `block (2 levels) in define_url_helper' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml___3457633357376401981_70195106572880' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:5:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__2113270188239507032_70195099568760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (26.2ms) Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 09:06:21 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (28.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (30.5ms) Completed 200 OK in 61ms (Views: 52.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:06:21 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:06:21 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:06:21 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:06:21 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:06:21 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 09:06:31 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6710ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.6ms) Completed 500 Internal Server Error in 12ms SyntaxError (/Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:2: syntax error, unexpected tIDENTIFIER, expecting ')' ..._to "Edit" edit_topic_post_path(post.topic_id, post) ... ^): /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:2: syntax error, unexpected tIDENTIFIER, expecting ')' ..._to "Edit" edit_topic_post_path(post.topic_id, post) ... ^ actionview (4.2.0) lib/action_view/template.rb:296:in `module_eval' actionview (4.2.0) lib/action_view/template.rb:296:in `compile' actionview (4.2.0) lib/action_view/template.rb:245:in `block (2 levels) in compile!' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:244:in `block in compile!' actionview (4.2.0) lib/action_view/template.rb:232:in `synchronize' actionview (4.2.0) lib/action_view/template.rb:232:in `compile!' actionview (4.2.0) lib/action_view/template.rb:144:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:5:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__2113270188239507032_70195099568760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (26.0ms) Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 09:06:37 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (20.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (22.5ms) Completed 200 OK in 48ms (Views: 42.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:06:37 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:06:37 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:06:37 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:06:37 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:06:37 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/54b1adfb4e65693544180000/edit" for ::1 at 2015-01-11 09:06:39 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b1adfb4e65693544170000", "id"=>"54b1adfb4e65693544180000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-01-11 09:06:39 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.8890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3060ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (17.9ms) Completed 200 OK in 41ms (Views: 38.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:06:39 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:06:39 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:06:39 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:06:39 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:06:39 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/54b216884e65694a2c060000/edit" for ::1 at 2015-01-11 09:06:44 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b1adfb4e65693544170000", "id"=>"54b216884e65694a2c060000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-01-11 09:06:44 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (14.2ms) Completed 200 OK in 39ms (Views: 36.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:06:44 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:06:44 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:06:44 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:06:44 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:06:44 -0500 Started GET "/forums/" for ::1 at 2015-01-11 09:06:47 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (17.5ms) Completed 200 OK in 45ms (Views: 39.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:06:48 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:06:48 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:06:48 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:06:48 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:06:48 -0500 Started GET "/f" for ::1 at 2015-01-11 09:06:49 -0500 ActionController::RoutingError (No route matches [GET] "/f"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (9.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (55.0ms) Started GET "/" for ::1 at 2015-01-11 09:06:51 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms Rendered partials/_nav.haml (2.1ms) Completed 200 OK in 26ms (Views: 26.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:06:51 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:06:51 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:06:51 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:06:51 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:06:51 -0500 Started GET "/forums/" for ::1 at 2015-01-11 09:06:55 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (14.6ms) Completed 200 OK in 37ms (Views: 34.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:06:56 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:06:56 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:06:56 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:06:56 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:06:56 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 09:06:57 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6640ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (13.6ms) Completed 200 OK in 56ms (Views: 50.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:06:58 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:06:58 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:06:58 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:06:58 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:06:58 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 09:06:59 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (18.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (19.5ms) Completed 200 OK in 45ms (Views: 39.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:06:59 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:06:59 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:06:59 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:06:59 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:06:59 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/54b1adfb4e65693544180000/edit" for ::1 at 2015-01-11 09:07:00 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b1adfb4e65693544170000", "id"=>"54b1adfb4e65693544180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-01-11 09:07:00 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (14.2ms) Completed 200 OK in 36ms (Views: 33.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:07:00 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:07:00 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:07:00 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:07:00 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:07:00 -0500 Started GET "/forums/" for ::1 at 2015-01-11 09:08:23 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (40.5ms) Completed 200 OK in 82ms (Views: 65.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:08:23 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:08:23 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:08:23 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:08:23 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:08:23 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 09:08:24 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (12.6ms) Completed 200 OK in 43ms (Views: 36.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:08:24 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:08:24 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:08:24 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:08:24 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:08:25 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 09:08:26 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (23.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (24.9ms) Completed 200 OK in 56ms (Views: 51.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:08:26 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:08:26 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:08:26 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:08:26 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:08:26 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/54b1adfb4e65693544180000/edit" for ::1 at 2015-01-11 09:08:27 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b1adfb4e65693544170000", "id"=>"54b1adfb4e65693544180000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 09:08:27 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (16.0ms) Completed 200 OK in 44ms (Views: 41.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:08:27 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:08:27 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:08:27 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:08:27 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:08:27 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/54b216884e65694a2c060000/edit" for ::1 at 2015-01-11 09:08:29 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b1adfb4e65693544170000", "id"=>"54b216884e65694a2c060000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 5ms Started GET "/forums/" for ::1 at 2015-01-11 09:08:29 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (16.2ms) Completed 200 OK in 41ms (Views: 38.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:08:29 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:08:29 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:08:29 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:08:29 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:08:29 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 09:12:05 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (19.3ms) Completed 200 OK in 71ms (Views: 40.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:12:05 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:12:05 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:12:05 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:12:05 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:12:05 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:12:07 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (1.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.0ms) Completed 200 OK in 35ms (Views: 28.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:12:07 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:12:07 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:12:07 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:12:07 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:12:07 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b21b8b4e65694a2c210000/edit" for ::1 at 2015-01-11 09:12:08 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b21b8b4e65694a2c210000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 6ms Started GET "/forums/" for ::1 at 2015-01-11 09:12:08 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (15.7ms) Completed 200 OK in 43ms (Views: 40.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:12:08 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:12:08 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:12:08 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:12:08 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:12:08 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:12:24 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (1.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.4ms) Completed 200 OK in 58ms (Views: 27.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:12:25 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:12:25 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:12:25 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:12:25 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:12:25 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b21b8b4e65694a2c210000/edit" for ::1 at 2015-01-11 09:12:25 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b21b8b4e65694a2c210000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-01-11 09:12:25 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (21.5ms) Completed 200 OK in 45ms (Views: 42.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:12:25 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:12:25 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:12:25 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:12:25 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:12:25 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 09:12:41 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (15.2ms) Completed 200 OK in 43ms (Views: 38.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:12:41 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:12:41 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:12:41 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:12:41 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:12:41 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:12:42 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.7730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (1.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.1ms) Completed 200 OK in 32ms (Views: 25.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:12:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:12:42 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:12:42 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:12:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:12:42 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b21b8b4e65694a2c210000/edit" for ::1 at 2015-01-11 09:12:43 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b21b8b4e65694a2c210000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-01-11 09:12:43 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (16.5ms) Completed 200 OK in 39ms (Views: 35.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:12:43 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:12:43 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:12:43 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:12:43 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:12:43 -0500 Started GET "/forums/" for ::1 at 2015-01-11 09:13:15 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (36.8ms) Completed 200 OK in 79ms (Views: 63.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:13:15 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:13:15 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:13:15 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:13:15 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:13:15 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b21b8b4e65694a2c210000/edit" for ::1 at 2015-01-11 09:13:19 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b21b8b4e65694a2c210000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7870ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 6ms Started GET "/forums/" for ::1 at 2015-01-11 09:13:19 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (14.9ms) Completed 200 OK in 37ms (Views: 34.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:13:19 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:13:19 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:13:19 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:13:19 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:13:19 -0500 Started GET "/forums/" for ::1 at 2015-01-11 09:18:50 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (37.5ms) Completed 200 OK in 77ms (Views: 61.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:18:51 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:18:51 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:18:51 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:18:51 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:18:51 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/edit" for ::1 at 2015-01-11 09:18:57 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.haml within layouts/mongoid_forums/application (0.1ms) Completed 200 OK in 29ms (Views: 24.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:18:57 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:18:57 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:18:57 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:18:57 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:18:57 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/edit" for ::1 at 2015-01-11 09:21:13 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.haml within layouts/mongoid_forums/application (0.1ms) Completed 200 OK in 40ms (Views: 20.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:21:13 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:21:13 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:21:13 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:21:13 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:21:13 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/edit" for ::1 at 2015-01-11 09:22:30 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4850ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.haml within layouts/mongoid_forums/application (0.1ms) Completed 200 OK in 26ms (Views: 21.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:22:30 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:22:30 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:22:30 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:22:30 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:22:30 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/edit" for ::1 at 2015-01-11 09:22:31 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.haml within layouts/mongoid_forums/application (0.1ms) Completed 200 OK in 27ms (Views: 23.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:22:31 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:22:31 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:22:31 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:22:31 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:22:31 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b21b8b4e65694a2c210000/edit" for ::1 at 2015-01-11 09:22:33 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b21b8b4e65694a2c210000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4730ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 12ms Started GET "/forums/" for ::1 at 2015-01-11 09:22:33 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (25.7ms) Completed 200 OK in 53ms (Views: 50.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:22:34 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:22:34 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:22:34 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:22:34 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:22:34 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b21b8b4e65694a2c210000/edit" for ::1 at 2015-01-11 09:22:44 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b21b8b4e65694a2c210000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6890ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.html.erb within layouts/mongoid_forums/application (0.7ms) Completed 200 OK in 68ms (Views: 37.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:22:44 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:22:44 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:22:44 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:22:44 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:22:44 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:22:51 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.7ms) Completed 200 OK in 67ms (Views: 28.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:22:51 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:22:51 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:22:51 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:22:51 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:22:51 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b21b8b4e65694a2c210000/edit" for ::1 at 2015-01-11 09:22:52 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b21b8b4e65694a2c210000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.html.erb within layouts/mongoid_forums/application (0.0ms) Completed 200 OK in 32ms (Views: 26.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:22:52 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:22:52 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:22:52 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:22:52 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:22:52 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b21b8b4e65694a2c210000/edit" for ::1 at 2015-01-11 09:30:45 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b21b8b4e65694a2c210000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4270ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.html.erb within layouts/mongoid_forums/application (0.1ms) Completed 200 OK in 35ms (Views: 28.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:30:45 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:30:45 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:30:45 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:30:45 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:30:45 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b21b8b4e65694a2c210000/edit" for ::1 at 2015-01-11 09:36:55 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b21b8b4e65694a2c210000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4350ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.html.erb within layouts/mongoid_forums/application (0.1ms) Completed 200 OK in 72ms (Views: 52.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:36:55 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:36:55 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:36:55 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:36:55 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:36:55 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b21b8b4e65694a2c210000/edit" for ::1 at 2015-01-11 09:38:51 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b21b8b4e65694a2c210000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3830ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml within layouts/mongoid_forums/application (18.1ms) Completed 500 Internal Server Error in 26ms ActionView::Template::Error (undefined local variable or method `current_resource' for #<#:0x007faf2b0122f0>): 1: %h1 Edit Post 2: - if current_resource[:reply_to_id] 3: - replying_to = MongoidForums::Post.find(current_resource[:reply_to_id]) 4: This post is a reply to 5: = replying_to.user.forum_display_name /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts_edit_haml___366590093254888392_70195158745900' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.3ms) Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b21b8b4e65694a2c210000/edit" for ::1 at 2015-01-11 09:38:55 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b21b8b4e65694a2c210000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3540ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml within layouts/mongoid_forums/application (17.6ms) Completed 500 Internal Server Error in 24ms ActionView::Template::Error (undefined local variable or method `current_resource' for #<#:0x007faf253bba38>): 9: %br 10: %br 11: 12: = form_for (current_resource) do |f| 13: = f.label :text 14: %br 15: = render :partial => "form", :locals => { :f => f } /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml:12:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts_edit_haml___366590093254888392_70195110334060' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.9ms) Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b21b8b4e65694a2c210000/edit" for ::1 at 2015-01-11 09:39:02 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b21b8b4e65694a2c210000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml within layouts/mongoid_forums/application (17.2ms) Completed 500 Internal Server Error in 23ms ActionView::Template::Error (undefined method `post_path' for #<#:0x007faf2b09b118>): 9: %br 10: %br 11: 12: = form_for (@current_resource) do |f| 13: = f.label :text 14: %br 15: = render :partial => "form", :locals => { :f => f } actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:220:in `polymorphic_method' actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:134:in `polymorphic_path' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:466:in `apply_form_for_options!' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:434:in `form_for' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml:12:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts_edit_haml___366590093254888392_70195159025840' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.7ms) Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b21b8b4e65694a2c210000/edit" for ::1 at 2015-01-11 09:39:32 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b21b8b4e65694a2c210000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3270ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml within layouts/mongoid_forums/application (15.4ms) Completed 500 Internal Server Error in 21ms ActionView::Template::Error (undefined method `post_path' for #<#:0x007faf2757aa48>): 1: %h1 Edit Post 2: 3: 4: = form_for (@current_resource) do |f| 5: = f.label :text 6: %br 7: = render :partial => "form", :locals => { :f => f } actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:220:in `polymorphic_method' actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:134:in `polymorphic_path' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:466:in `apply_form_for_options!' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:434:in `form_for' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml:4:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts_edit_haml___366590093254888392_70195127997620' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.5ms) Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b21b8b4e65694a2c210000/edit" for ::1 at 2015-01-11 09:39:57 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b21b8b4e65694a2c210000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml within layouts/mongoid_forums/application (23.1ms) Completed 200 OK in 53ms (Views: 50.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:39:57 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:39:57 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:39:57 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:39:57 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:39:57 -0500 Started PATCH "/forums/topics/54b21b8b4e65694a2c200000/posts/54b21b8b4e65694a2c210000" for ::1 at 2015-01-11 09:39:59 -0500 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"jP0H3S/140GJIhyCrCbpIPf1rFAPWBaEtu2PmxKUpgc0dCMhYKzG4Tg2qZ5Zo2K0hlgA5qelUdv+0uNVBp1Pdw==", "post"=>{"text"=>"sdfsdfdfsdf"}, "commit"=>"Update Reply", "topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b21b8b4e65694a2c210000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8400ms Completed 500 Internal Server Error in 8ms ActionView::MissingTemplate (Missing template mongoid_forums/posts/update, mongoid_forums/application/update with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Business/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Business/mongoid_forums/app/views" * "/Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views" ): actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (18.5ms) Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b21b8b4e65694a2c210000/edit" for ::1 at 2015-01-11 09:41:04 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b21b8b4e65694a2c210000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml within layouts/mongoid_forums/application (15.2ms) Completed 200 OK in 70ms (Views: 39.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:41:04 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:41:04 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:41:04 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:41:04 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:41:04 -0500 Started PATCH "/forums/topics/54b21b8b4e65694a2c200000/posts/54b21b8b4e65694a2c210000" for ::1 at 2015-01-11 09:41:05 -0500 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"gsBKAymrBlS+NF8RFz2vZ9o/HWJo8CORTbvLH/BRXjI6SW7/ZvIj9A8g6g3iuCTzq5Kx1MANZM4FhKfR5Fi3Qg==", "post"=>{"text"=>"sdfsdfsdfsdf"}, "commit"=>"Update Reply", "topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b21b8b4e65694a2c210000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms Redirected to http://localhost:3000/forums/topics/54b21b8b4e65694a2c200000 Completed 302 Found in 8ms Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:41:05 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.4ms) Completed 200 OK in 31ms (Views: 26.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:41:05 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:41:05 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:41:05 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:41:05 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:41:05 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b21b8b4e65694a2c210000/edit" for ::1 at 2015-01-11 09:41:09 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b21b8b4e65694a2c210000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml within layouts/mongoid_forums/application (3.6ms) Completed 200 OK in 34ms (Views: 29.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:41:09 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:41:09 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:41:09 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:41:09 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:41:09 -0500 Started PATCH "/forums/topics/54b21b8b4e65694a2c200000/posts/54b21b8b4e65694a2c210000" for ::1 at 2015-01-11 09:41:12 -0500 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"+1+CbgOS3D6abOvRaC6K8YpAFIIkq9pZG4G/eZfjOWlD1qaSTMv5nit4Xs2dqwFl++24NIxWnQZTvtO3g+rQGQ==", "post"=>{"text"=>"sdfsdfHelloWorld"}, "commit"=>"Update Reply", "topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b21b8b4e65694a2c210000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2990ms Redirected to http://localhost:3000/forums/topics/54b21b8b4e65694a2c200000 Completed 302 Found in 6ms Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:41:12 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (1.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.8ms) Completed 200 OK in 30ms (Views: 24.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:41:12 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:41:12 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:41:12 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:41:12 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:41:12 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:41:13 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (1.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.7ms) Completed 200 OK in 31ms (Views: 26.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:41:13 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:41:13 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:41:13 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:41:13 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:41:13 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:41:13 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (4.0ms) Completed 200 OK in 31ms (Views: 25.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:41:13 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:41:13 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:41:13 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:41:13 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:41:13 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:41:13 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (1.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.2ms) Completed 200 OK in 34ms (Views: 28.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:41:14 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:41:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:41:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:41:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:41:14 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:41:14 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (1.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.6ms) Completed 200 OK in 29ms (Views: 24.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:41:14 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:41:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:41:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:41:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:41:14 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:41:14 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.7ms) Completed 200 OK in 29ms (Views: 24.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:41:14 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:41:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:41:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:41:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:41:14 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b21b8b4e65694a2c210000/edit" for ::1 at 2015-01-11 09:41:21 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b21b8b4e65694a2c210000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml within layouts/mongoid_forums/application (10.7ms) Completed 200 OK in 57ms (Views: 33.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:41:21 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:41:21 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:41:21 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:41:21 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:41:21 -0500 Started PATCH "/forums/topics/54b21b8b4e65694a2c200000/posts/54b21b8b4e65694a2c210000" for ::1 at 2015-01-11 09:41:24 -0500 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"EhNO1humAflfj9My9zzyIw2DXvVz4K71nVXLNppNcOGqmmoqVP8kWe6bZi4CuXm3fC7yQ9sd6arVaqf4jkSZkQ==", "post"=>{"text"=>"d"}, "commit"=>"Update Reply", "topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b21b8b4e65694a2c210000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5840ms Redirected to http://localhost:3000/forums/topics/54b21b8b4e65694a2c200000 Completed 302 Found in 7ms Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:41:24 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.3ms) Completed 200 OK in 36ms (Views: 29.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:41:24 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:41:24 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:41:24 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:41:24 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:41:24 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/new?reply_to_id=54b21b8b4e65694a2c210000" for ::1 at 2015-01-11 09:41:56 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b21b8b4e65694a2c210000", "topic_id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (30.7ms) Completed 200 OK in 57ms (Views: 51.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:41:56 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:41:56 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:41:56 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:41:56 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:41:56 -0500 Started POST "/forums/topics/54b21b8b4e65694a2c200000/posts" for ::1 at 2015-01-11 09:41:58 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"s+GwfCbIAjFHqIBv5OfpHWco7AkYraEha+Jcz3jcJqkLaJSAaZEnkfa8NXMRYmKJFoVAv7BQ5n4j3TABbNXP2Q==", "post"=>{"text"=>"sdfsf", "reply_to_id"=>"54b21b8b4e65694a2c210000"}, "commit"=>"Create Reply", "topic_id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6750ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000'), "text"=>"sdfsf", "topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000'), "updated_at"=>2015-01-11 14:41:58 UTC, "created_at"=>2015-01-11 14:41:58 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 12.2420ms Redirected to http://localhost:3000/forums/topics/54b21b8b4e65694a2c200000 Completed 302 Found in 20ms Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:41:58 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3360ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.7ms) Completed 200 OK in 37ms (Views: 32.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:41:58 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:41:58 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:41:58 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:41:58 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:41:58 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000/edit" for ::1 at 2015-01-11 09:41:59 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml within layouts/mongoid_forums/application (6.3ms) Completed 200 OK in 37ms (Views: 31.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:41:59 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:41:59 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:41:59 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:41:59 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:41:59 -0500 Started PATCH "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000" for ::1 at 2015-01-11 09:42:01 -0500 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ms1E3Zm0Nxc/5cZddY4uiiQTJy+MLMHnJtCU91+A5QeKRGAh1u0St47xc0GAC6UeVb6LmSTRhrhu7/g5S4kMdw==", "post"=>{"text"=>"sdfsfdsfsdf"}, "commit"=>"Update Reply", "topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms Redirected to http://localhost:3000/forums/topics/54b21b8b4e65694a2c200000 Completed 302 Found in 6ms Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:42:01 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2800ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.3ms) Completed 200 OK in 34ms (Views: 28.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:42:02 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:42:02 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:42:02 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:42:02 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:42:02 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:42:02 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4580ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.3ms) Completed 200 OK in 39ms (Views: 33.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:42:02 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:42:02 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:42:02 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:42:02 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:42:02 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000/edit" for ::1 at 2015-01-11 09:42:04 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2980ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml within layouts/mongoid_forums/application (5.7ms) Completed 200 OK in 33ms (Views: 28.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:42:04 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:42:04 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:42:04 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:42:04 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:42:04 -0500 Started PATCH "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000" for ::1 at 2015-01-11 09:42:07 -0500 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ihXkdIuHiTsOvTfkyxXFp9drS3fnbQ9PAGgw1k08ABwynMCIxN6sm7+pgvg+kE4zpsbnwU+QSBBIV1wYWTXpbA==", "post"=>{"text"=>"Hello"}, "commit"=>"Update Reply", "topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6260ms Redirected to http://localhost:3000/forums/topics/54b21b8b4e65694a2c200000 Completed 302 Found in 6ms Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:42:07 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4060ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.5ms) Completed 200 OK in 62ms (Views: 58.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:42:07 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:42:07 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:42:07 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:42:07 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:42:07 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:42:07 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.6ms) Completed 200 OK in 35ms (Views: 29.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:42:08 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:42:08 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:42:08 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:42:08 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:42:08 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:42:08 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3110ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.3ms) Completed 200 OK in 35ms (Views: 29.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:42:08 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:42:08 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:42:08 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:42:08 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:42:08 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:42:55 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (6.9ms) Completed 200 OK in 64ms (Views: 30.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:42:55 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:42:55 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:42:55 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:42:55 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:42:55 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000/edit" for ::1 at 2015-01-11 09:42:56 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml within layouts/mongoid_forums/application (9.1ms) Completed 200 OK in 41ms (Views: 36.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:42:56 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:42:56 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:42:56 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:42:56 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:42:56 -0500 Started PATCH "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000" for ::1 at 2015-01-11 09:42:59 -0500 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"pE9uDeHHvZfRBosjFdCZwCaa1Zk1/NUYxHS1+VAGTFEcxkrxrp6YN2ASPj/gVRJUVzd5L50BkkeMS9k3RA+lIQ==", "post"=>{"text"=>"sdfsfHelloWlrd"}, "commit"=>"Update Reply", "topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3600ms Completed 500 Internal Server Error in 4ms ActiveModel::ForbiddenAttributesError (ActiveModel::ForbiddenAttributesError): activemodel (4.2.0) lib/active_model/forbidden_attributes_protection.rb:21:in `sanitize_for_mass_assignment' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:22:in `process_attributes' mongoid (4.0.0) lib/mongoid/attributes.rb:203:in `block in assign_attributes' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:26:in `_assigning' mongoid (4.0.0) lib/mongoid/attributes.rb:202:in `assign_attributes' mongoid (4.0.0) lib/mongoid/persistable/updatable.rb:51:in `update' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:35:in `update' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (20.1ms) Started PATCH "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000" for ::1 at 2015-01-11 09:44:08 -0500 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"pE9uDeHHvZfRBosjFdCZwCaa1Zk1/NUYxHS1+VAGTFEcxkrxrp6YN2ASPj/gVRJUVzd5L50BkkeMS9k3RA+lIQ==", "post"=>{"text"=>"sdfsfHelloWlrd"}, "commit"=>"Update Reply", "topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4480ms Completed 500 Internal Server Error in 22ms ActiveModel::ForbiddenAttributesError (ActiveModel::ForbiddenAttributesError): activemodel (4.2.0) lib/active_model/forbidden_attributes_protection.rb:21:in `sanitize_for_mass_assignment' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:22:in `process_attributes' mongoid (4.0.0) lib/mongoid/attributes.rb:203:in `block in assign_attributes' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:26:in `_assigning' mongoid (4.0.0) lib/mongoid/attributes.rb:202:in `assign_attributes' mongoid (4.0.0) lib/mongoid/persistable/updatable.rb:51:in `update' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:35:in `update' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (45.8ms) Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000/edit" for ::1 at 2015-01-11 09:44:09 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml within layouts/mongoid_forums/application (13.6ms) Completed 200 OK in 42ms (Views: 38.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:44:09 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:44:09 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:44:09 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:44:09 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:44:09 -0500 Started PATCH "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000" for ::1 at 2015-01-11 09:44:11 -0500 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ky1yvp9vU+sT2/Swb2MupVwz90xzbLFa32C6ms8Lc/srpFZC0DZ2S6LPQaya5qUxLZ5b+tuR9gWXX9ZU2wKaiw==", "post"=>{"text"=>"sdfsfHelloWlrd"}, "commit"=>"Update Reply", "topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms Completed 500 Internal Server Error in 5ms ActiveModel::ForbiddenAttributesError (ActiveModel::ForbiddenAttributesError): activemodel (4.2.0) lib/active_model/forbidden_attributes_protection.rb:21:in `sanitize_for_mass_assignment' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:22:in `process_attributes' mongoid (4.0.0) lib/mongoid/attributes.rb:203:in `block in assign_attributes' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:26:in `_assigning' mongoid (4.0.0) lib/mongoid/attributes.rb:202:in `assign_attributes' mongoid (4.0.0) lib/mongoid/persistable/updatable.rb:51:in `update' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:35:in `update' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (19.0ms) Started PATCH "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000" for ::1 at 2015-01-11 09:44:48 -0500 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ky1yvp9vU+sT2/Swb2MupVwz90xzbLFa32C6ms8Lc/srpFZC0DZ2S6LPQaya5qUxLZ5b+tuR9gWXX9ZU2wKaiw==", "post"=>{"text"=>"sdfsfHelloWlrd"}, "commit"=>"Update Reply", "topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4820ms Unpermitted parameter: text Completed 500 Internal Server Error in 24ms NoMethodError (undefined method `each_pair' for "54b21b8b4e65694a2c200000":String): mongoid (4.0.0) lib/mongoid/attributes/processing.rb:23:in `process_attributes' mongoid (4.0.0) lib/mongoid/attributes.rb:203:in `block in assign_attributes' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:26:in `_assigning' mongoid (4.0.0) lib/mongoid/attributes.rb:202:in `assign_attributes' mongoid (4.0.0) lib/mongoid/persistable/updatable.rb:51:in `update' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:35:in `update' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (16.2ms) Started PATCH "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000" for ::1 at 2015-01-11 09:44:58 -0500 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ky1yvp9vU+sT2/Swb2MupVwz90xzbLFa32C6ms8Lc/srpFZC0DZ2S6LPQaya5qUxLZ5b+tuR9gWXX9ZU2wKaiw==", "post"=>{"text"=>"sdfsfHelloWlrd"}, "commit"=>"Update Reply", "topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4460ms Unpermitted parameter: text Completed 500 Internal Server Error in 22ms TypeError (no implicit conversion of Symbol into Integer): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:35:in `[]' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:35:in `update' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (14.4ms) Started PATCH "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000" for ::1 at 2015-01-11 09:45:07 -0500 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ky1yvp9vU+sT2/Swb2MupVwz90xzbLFa32C6ms8Lc/srpFZC0DZ2S6LPQaya5qUxLZ5b+tuR9gWXX9ZU2wKaiw==", "post"=>{"text"=>"sdfsfHelloWlrd"}, "commit"=>"Update Reply", "topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6560ms Unpermitted parameter: text Completed 500 Internal Server Error in 23ms TypeError (no implicit conversion of Symbol into Integer): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:35:in `[]' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:35:in `update' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (18.2ms) Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000/edit" for ::1 at 2015-01-11 09:45:57 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml within layouts/mongoid_forums/application (16.3ms) Completed 200 OK in 77ms (Views: 46.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:45:57 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:45:57 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:45:57 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:45:57 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:45:58 -0500 Started PATCH "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000" for ::1 at 2015-01-11 09:46:00 -0500 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"5+rKcTwFksbE4vjO0/oYy+Zf9ZnvtQ9z982OJ/bKEPtfY+6Nc1y3ZnX2TdImf5Nfl/JZL0dISCy/8uLp4sP5iw==", "post"=>{"text"=>"DSJFKSHFKLJSD"}, "commit"=>"Update Reply", "topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3580ms Unpermitted parameter: text Completed 500 Internal Server Error in 6ms TypeError (no implicit conversion of Symbol into Integer): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:35:in `[]' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:35:in `update' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (16.6ms) Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000/edit" for ::1 at 2015-01-11 09:47:26 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1790ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml within layouts/mongoid_forums/application (21.4ms) Completed 200 OK in 78ms (Views: 49.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:47:26 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:47:26 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:47:26 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:47:26 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:47:26 -0500 Started PATCH "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000" for ::1 at 2015-01-11 09:47:31 -0500 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"mnX4j+YkzJd8XASLIDILm1jl8PAamhEZmnFajDZXQCsi/NxzqX3pN81IsZfVt4APKUhcRrJnVkbSTjZCIl6pWw==", "post"=>{"text"=>"sdfsfsdd"}, "commit"=>"Update Reply", "topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4300ms Unpermitted parameter: text Unpermitted parameter: text Completed 500 Internal Server Error in 7ms TypeError (no implicit conversion of Symbol into Integer): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:37:in `[]' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:37:in `update' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (20.7ms) Started PATCH "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000" for ::1 at 2015-01-11 09:48:20 -0500 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"mnX4j+YkzJd8XASLIDILm1jl8PAamhEZmnFajDZXQCsi/NxzqX3pN81IsZfVt4APKUhcRrJnVkbSTjZCIl6pWw==", "post"=>{"text"=>"sdfsfsdd"}, "commit"=>"Update Reply", "topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5740ms Unpermitted parameter: text Unpermitted parameter: text Completed 500 Internal Server Error in 27ms TypeError (no implicit conversion of Symbol into Integer): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:37:in `[]' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:37:in `update' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (20.7ms) Started PATCH "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000" for ::1 at 2015-01-11 09:48:35 -0500 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"mnX4j+YkzJd8XASLIDILm1jl8PAamhEZmnFajDZXQCsi/NxzqX3pN81IsZfVt4APKUhcRrJnVkbSTjZCIl6pWw==", "post"=>{"text"=>"sdfsfsdd"}, "commit"=>"Update Reply", "topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4770ms Unpermitted parameter: text Unpermitted parameter: text Completed 500 Internal Server Error in 64ms TypeError (no implicit conversion of Symbol into Integer): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:37:in `[]' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:37:in `update' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (15.4ms) Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000/edit" for ::1 at 2015-01-11 09:48:37 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6280ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml within layouts/mongoid_forums/application (17.6ms) Completed 200 OK in 51ms (Views: 46.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:48:37 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:48:37 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:48:37 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:48:37 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:48:37 -0500 Started PATCH "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000" for ::1 at 2015-01-11 09:48:40 -0500 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"QXUT1Gd34kjaXtMR0eEwOJM0yLiQF/+oj5egghxfyzX5/DcoKC7H6GtKZg0kZLus4plkDjjquPfHqMxMCFYiRQ==", "post"=>{"text"=>"sdfsf"}, "commit"=>"Update Reply", "topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4450ms Unpermitted parameter: text Unpermitted parameter: text Completed 500 Internal Server Error in 5ms TypeError (no implicit conversion of Symbol into Integer): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:37:in `[]' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:37:in `update' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (19.2ms) Started PATCH "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000" for ::1 at 2015-01-11 09:48:47 -0500 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"QXUT1Gd34kjaXtMR0eEwOJM0yLiQF/+oj5egghxfyzX5/DcoKC7H6GtKZg0kZLus4plkDjjquPfHqMxMCFYiRQ==", "post"=>{"text"=>"sdfsf"}, "commit"=>"Update Reply", "topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4650ms Unpermitted parameter: text Unpermitted parameter: text Completed 500 Internal Server Error in 22ms TypeError (no implicit conversion of Symbol into Integer): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:37:in `[]' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:37:in `update' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (20.4ms) Started PATCH "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000" for ::1 at 2015-01-11 09:49:07 -0500 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"QXUT1Gd34kjaXtMR0eEwOJM0yLiQF/+oj5egghxfyzX5/DcoKC7H6GtKZg0kZLus4plkDjjquPfHqMxMCFYiRQ==", "post"=>{"text"=>"sdfsf"}, "commit"=>"Update Reply", "topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5420ms Unpermitted parameter: text Completed 500 Internal Server Error in 27ms TypeError (no implicit conversion of Symbol into Integer): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:37:in `[]' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:37:in `update' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (22.2ms) Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000/edit" for ::1 at 2015-01-11 09:49:38 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6010ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml within layouts/mongoid_forums/application (17.1ms) Completed 200 OK in 79ms (Views: 46.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:49:38 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:49:38 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:49:38 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:49:38 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:49:38 -0500 Started PATCH "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000" for ::1 at 2015-01-11 09:49:41 -0500 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"odYLrRk4PPLr7NW5L4lM0nXhRWOSxcKdrgGjwMiztx0ZXy9RVmEZUlr4YKXaDMdGBEzp1To4hcLmPs8O3LpebQ==", "post"=>{"text"=>"sdfsdfsdfsdfsddfsdf"}, "commit"=>"Update Reply", "topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5340ms Completed 500 Internal Server Error in 6ms ActiveModel::ForbiddenAttributesError (ActiveModel::ForbiddenAttributesError): activemodel (4.2.0) lib/active_model/forbidden_attributes_protection.rb:21:in `sanitize_for_mass_assignment' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:22:in `process_attributes' mongoid (4.0.0) lib/mongoid/attributes.rb:203:in `block in assign_attributes' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:26:in `_assigning' mongoid (4.0.0) lib/mongoid/attributes.rb:202:in `assign_attributes' mongoid (4.0.0) lib/mongoid/persistable/updatable.rb:51:in `update' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:37:in `update' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (20.1ms) Started PATCH "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000" for ::1 at 2015-01-11 09:50:16 -0500 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"odYLrRk4PPLr7NW5L4lM0nXhRWOSxcKdrgGjwMiztx0ZXy9RVmEZUlr4YKXaDMdGBEzp1To4hcLmPs8O3LpebQ==", "post"=>{"text"=>"sdfsdfsdfsdfsddfsdf"}, "commit"=>"Update Reply", "topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4840ms Completed 500 Internal Server Error in 23ms ActiveModel::ForbiddenAttributesError (ActiveModel::ForbiddenAttributesError): activemodel (4.2.0) lib/active_model/forbidden_attributes_protection.rb:21:in `sanitize_for_mass_assignment' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:22:in `process_attributes' mongoid (4.0.0) lib/mongoid/attributes.rb:203:in `block in assign_attributes' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:26:in `_assigning' mongoid (4.0.0) lib/mongoid/attributes.rb:202:in `assign_attributes' mongoid (4.0.0) lib/mongoid/persistable/updatable.rb:51:in `update' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:37:in `update' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (19.0ms) Started PATCH "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000" for ::1 at 2015-01-11 09:50:30 -0500 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"odYLrRk4PPLr7NW5L4lM0nXhRWOSxcKdrgGjwMiztx0ZXy9RVmEZUlr4YKXaDMdGBEzp1To4hcLmPs8O3LpebQ==", "post"=>{"text"=>"sdfsdfsdfsdfsddfsdf"}, "commit"=>"Update Reply", "topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6330ms Completed 500 Internal Server Error in 26ms ActiveModel::ForbiddenAttributesError (ActiveModel::ForbiddenAttributesError): activemodel (4.2.0) lib/active_model/forbidden_attributes_protection.rb:21:in `sanitize_for_mass_assignment' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:22:in `process_attributes' mongoid (4.0.0) lib/mongoid/attributes.rb:203:in `block in assign_attributes' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:26:in `_assigning' mongoid (4.0.0) lib/mongoid/attributes.rb:202:in `assign_attributes' mongoid (4.0.0) lib/mongoid/persistable/updatable.rb:51:in `update' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:37:in `update' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (44.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (55.5ms) Started PATCH "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000" for ::1 at 2015-01-11 09:51:02 -0500 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"odYLrRk4PPLr7NW5L4lM0nXhRWOSxcKdrgGjwMiztx0ZXy9RVmEZUlr4YKXaDMdGBEzp1To4hcLmPs8O3LpebQ==", "post"=>{"text"=>"sdfsdfsdfsdfsddfsdf"}, "commit"=>"Update Reply", "topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4100ms Completed 500 Internal Server Error in 26ms ActiveModel::ForbiddenAttributesError (ActiveModel::ForbiddenAttributesError): activemodel (4.2.0) lib/active_model/forbidden_attributes_protection.rb:21:in `sanitize_for_mass_assignment' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:22:in `process_attributes' mongoid (4.0.0) lib/mongoid/attributes.rb:203:in `block in assign_attributes' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:26:in `_assigning' mongoid (4.0.0) lib/mongoid/attributes.rb:202:in `assign_attributes' mongoid (4.0.0) lib/mongoid/persistable/updatable.rb:51:in `update' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:37:in `update' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (25.2ms) Started PATCH "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000" for ::1 at 2015-01-11 09:51:07 -0500 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"odYLrRk4PPLr7NW5L4lM0nXhRWOSxcKdrgGjwMiztx0ZXy9RVmEZUlr4YKXaDMdGBEzp1To4hcLmPs8O3LpebQ==", "post"=>{"text"=>"sdfsdfsdfsdfsddfsdf"}, "commit"=>"Update Reply", "topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5830ms Completed 500 Internal Server Error in 30ms NoMethodError (undefined method `each_pair' for "54b21b8b4e65694a2c200000":String): mongoid (4.0.0) lib/mongoid/attributes/processing.rb:23:in `process_attributes' mongoid (4.0.0) lib/mongoid/attributes.rb:203:in `block in assign_attributes' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:26:in `_assigning' mongoid (4.0.0) lib/mongoid/attributes.rb:202:in `assign_attributes' mongoid (4.0.0) lib/mongoid/persistable/updatable.rb:51:in `update' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:37:in `update' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (22.0ms) Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000/edit" for ::1 at 2015-01-11 09:52:32 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6240ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml within layouts/mongoid_forums/application (14.7ms) Completed 200 OK in 110ms (Views: 40.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:52:32 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:52:32 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:52:32 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:52:32 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:52:32 -0500 Started PATCH "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000" for ::1 at 2015-01-11 09:52:35 -0500 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"TZMqGcR9AqsEbIbkWF/MkYZqAEkfwmTbGusb2lvHaqr1Gg7liyQnC7V4M/it2kcF98es/7c/I4RS1HcUT86D2g==", "post"=>{"text"=>"fsdfsdfaDSFSDFSD"}, "commit"=>"Update Reply", "topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} update={"$set"=>{"text"=>"fsdfsdfaDSFSDFSD", "updated_at"=>2015-01-11 14:52:35 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms Redirected to http://localhost:3000/forums/topics/54b21b8b4e65694a2c200000 Completed 302 Found in 12ms Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:52:35 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.9ms) Completed 200 OK in 38ms (Views: 32.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:52:35 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:52:35 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:52:35 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:52:35 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:52:35 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:52:36 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4560ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.6ms) Completed 200 OK in 44ms (Views: 38.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:52:36 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:52:37 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:52:37 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:52:37 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:52:37 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000/edit" for ::1 at 2015-01-11 09:52:38 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml within layouts/mongoid_forums/application (7.3ms) Completed 200 OK in 34ms (Views: 30.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:52:38 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:52:38 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:52:38 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:52:38 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:52:38 -0500 Started PATCH "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000" for ::1 at 2015-01-11 09:52:42 -0500 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"rfSHb+B2SjvDuqKNUb0KryuqGIKKEtySNZWV7n/TXs4VfaOTry9vm3KuF5GkOIE7Wge0NCLvm819qvkga9q3vg==", "post"=>{"text"=>"ALLO\r\n"}, "commit"=>"Update Reply", "topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} update={"$set"=>{"text"=>"ALLO\r\n", "updated_at"=>2015-01-11 14:52:42 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms Redirected to http://localhost:3000/forums/topics/54b21b8b4e65694a2c200000 Completed 302 Found in 9ms Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:52:42 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (48.2ms) Completed 200 OK in 85ms (Views: 79.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:52:42 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:52:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:52:42 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:52:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:52:42 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:52:42 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2760ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.9ms) Completed 200 OK in 35ms (Views: 29.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:52:42 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:52:42 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:52:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:52:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:52:42 -0500 Started GET "/forums/" for ::1 at 2015-01-11 09:52:55 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (25.6ms) Completed 200 OK in 52ms (Views: 48.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:52:55 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:52:55 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:52:55 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:52:55 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:52:55 -0500 Started GET "/forums/54b1d27f4e656942f2050000" for ::1 at 2015-01-11 09:52:58 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b1d27f4e656942f2050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.9ms) Completed 200 OK in 37ms (Views: 30.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:52:58 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:52:58 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:52:58 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:52:58 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:52:58 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 09:53:00 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.2ms) Completed 200 OK in 76ms (Views: 70.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:53:00 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:53:00 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:53:00 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:53:00 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:53:00 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000/posts/54b1d2944e656942f2080000/edit" for ::1 at 2015-01-11 09:53:01 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b1d2944e656942f2070000", "id"=>"54b1d2944e656942f2080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4850ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 5ms Started GET "/forums/" for ::1 at 2015-01-11 09:53:01 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (16.1ms) Completed 200 OK in 40ms (Views: 36.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:53:01 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:53:01 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:53:01 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:53:01 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:53:01 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 09:53:39 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5280ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.8ms) Completed 500 Internal Server Error in 47ms ActionView::Template::Error (undefined method `allow?' for #): 1: %br 2: - if allow? :post, :edit, post 3: = link_to "Edit", edit_topic_post_path(post.topic_id, post) 4: = post.user.forum_display_name 5: - if post.reply_to_id actionpack (4.2.0) lib/abstract_controller/helpers.rb:67:in `allow?' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml___3457633357376401981_70195142050080' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:5:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__2113270188239507032_70195099568760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.5ms) Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 09:54:07 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3620ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (9.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (11.3ms) Completed 500 Internal Server Error in 18ms ActionView::Template::Error (undefined method `allow?' for #): 1: %br 2: - if allow? :posts, :edit, post 3: = link_to "Edit", edit_topic_post_path(post.topic_id, post) 4: = post.user.forum_display_name 5: - if post.reply_to_id actionpack (4.2.0) lib/abstract_controller/helpers.rb:67:in `allow?' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml___3457633357376401981_70195127488260' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:5:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__2113270188239507032_70195099568760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.8ms) Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 09:54:24 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3030ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (6.7ms) Completed 200 OK in 104ms (Views: 26.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:54:24 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:54:24 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:54:24 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:54:24 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:54:24 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 09:54:29 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (13.3ms) Completed 200 OK in 48ms (Views: 35.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:54:29 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:54:29 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:54:29 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:54:29 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:54:29 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 09:54:32 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (19.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (20.4ms) Completed 200 OK in 54ms (Views: 45.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:54:33 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:54:33 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:54:33 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:54:33 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:54:33 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:54:40 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3290ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.0ms) Completed 200 OK in 37ms (Views: 29.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:54:40 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:54:40 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:54:40 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:54:40 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:54:40 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:55:22 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3250ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (10.3ms) Completed 200 OK in 68ms (Views: 34.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:55:22 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:55:22 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:55:22 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:55:22 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:55:22 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 09:55:25 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (19.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (20.7ms) Completed 200 OK in 48ms (Views: 41.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:55:25 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:55:25 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:55:25 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:55:25 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:55:25 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/54b216884e65694a2c060000/edit" for ::1 at 2015-01-11 09:55:30 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b1adfb4e65693544170000", "id"=>"54b216884e65694a2c060000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b216884e65694a2c060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml within layouts/mongoid_forums/application (4.7ms) Completed 200 OK in 38ms (Views: 32.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:55:30 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:55:30 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:55:30 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:55:30 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:55:30 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 09:55:40 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 46.2850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (59.2ms) Completed 200 OK in 100ms (Views: 85.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:55:40 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:55:40 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:55:40 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:55:40 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:55:40 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:55:41 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.3ms) Completed 200 OK in 38ms (Views: 32.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:55:41 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:55:41 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:55:41 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:55:41 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:55:41 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000/edit" for ::1 at 2015-01-11 09:55:48 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml within layouts/mongoid_forums/application (8.8ms) Completed 200 OK in 38ms (Views: 32.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:55:48 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:55:48 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:55:48 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:55:48 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:55:48 -0500 Started PATCH "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000" for ::1 at 2015-01-11 09:55:52 -0500 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"wpki+kX6fb09qdk5PjVHaMicx1K80UWoJ21mzIMWgKB6EAYGCqNYHYy9bCXLsMz8uTFr5BQsAvdvUgoClx9p0A==", "post"=>{"text"=>"fsdfsdf"}, "commit"=>"Update post", "topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} update={"$set"=>{"text"=>"fsdfsdf", "updated_at"=>2015-01-11 14:55:52 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms Redirected to http://localhost:3000/forums/topics/54b21b8b4e65694a2c200000 Completed 302 Found in 9ms Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:55:52 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3210ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.7ms) Completed 200 OK in 35ms (Views: 29.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:55:52 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:55:52 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:55:52 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:55:52 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:55:52 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/new?reply_to_id=54b28bb64e65694c3d040000" for ::1 at 2015-01-11 09:55:55 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b28bb64e65694c3d040000", "topic_id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7240ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (5.9ms) Completed 200 OK in 81ms (Views: 75.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:55:55 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:55:55 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:55:55 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:55:55 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:55:55 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:56:22 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2980ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (9.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (10.6ms) Completed 200 OK in 35ms (Views: 30.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 09:56:22 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 09:56:22 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 09:56:22 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 09:56:22 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 09:56:22 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:59:00 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4040ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (4.0ms) Completed 500 Internal Server Error in 12ms SyntaxError (/Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:21: syntax error, unexpected keyword_ensure, expecting end-of-input): /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:21: syntax error, unexpected keyword_ensure, expecting end-of-input actionview (4.2.0) lib/action_view/template.rb:296:in `module_eval' actionview (4.2.0) lib/action_view/template.rb:296:in `compile' actionview (4.2.0) lib/action_view/template.rb:245:in `block (2 levels) in compile!' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:244:in `block in compile!' actionview (4.2.0) lib/action_view/template.rb:232:in `synchronize' actionview (4.2.0) lib/action_view/template.rb:232:in `compile!' actionview (4.2.0) lib/action_view/template.rb:144:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:5:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__2113270188239507032_70195099568760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (26.0ms) Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:59:07 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (1.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.9ms) Completed 500 Internal Server Error in 11ms SyntaxError (/Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:21: syntax error, unexpected keyword_ensure, expecting end-of-input): /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:21: syntax error, unexpected keyword_ensure, expecting end-of-input actionview (4.2.0) lib/action_view/template.rb:296:in `module_eval' actionview (4.2.0) lib/action_view/template.rb:296:in `compile' actionview (4.2.0) lib/action_view/template.rb:245:in `block (2 levels) in compile!' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:244:in `block in compile!' actionview (4.2.0) lib/action_view/template.rb:232:in `synchronize' actionview (4.2.0) lib/action_view/template.rb:232:in `compile!' actionview (4.2.0) lib/action_view/template.rb:144:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:5:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__2113270188239507032_70195099568760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (23.5ms) Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:59:12 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.1ms) Completed 500 Internal Server Error in 15ms ActionView::Template::Error (undefined method `keys' for #): 13: = link_to "Edit", edit_topic_post_path(post.topic_id, post) 14: 15: %br 16: = render '_quoted', post 17: 18: %br 19: = post.text actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:510:in `retrieve_template_keys' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:393:in `setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:293:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:16:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml___3457633357376401981_70195099147120' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:5:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__2113270188239507032_70195099568760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (13.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (27.1ms) Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 09:59:46 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (56.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (58.6ms) Completed 500 Internal Server Error in 68ms ActionView::Template::Error (undefined method `keys' for #): 14: 15: %br 16: - if post.reply_to_id 17: = render '_quoted', post 18: %br 19: = post.text 20: %br actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:510:in `retrieve_template_keys' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:393:in `setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:293:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:17:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml___3457633357376401981_70195097257400' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:5:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__2113270188239507032_70195099568760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.4ms) Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 10:00:09 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (11.8ms) Completed 500 Internal Server Error in 18ms ActionView::Template::Error (Missing partial mongoid_forums/topics/__quoted, mongoid_forums/application/__quoted with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Business/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Business/mongoid_forums/app/views" * "/Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views" ): 14: 15: %br 16: - if post.reply_to_id 17: = render '_quoted', :locals => {post: post} 18: %br 19: = post.text 20: %br actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:418:in `find_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:413:in `find_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:294:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:17:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml___3457633357376401981_70195099830100' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:5:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__2113270188239507032_70195099568760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (24.8ms) Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 10:00:20 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3150ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (9.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (11.2ms) Completed 500 Internal Server Error in 18ms ActionView::Template::Error (Missing partial posts/__quoted with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Business/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Business/mongoid_forums/app/views" * "/Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views" ): 14: 15: %br 16: - if post.reply_to_id 17: = render 'posts/_quoted', :locals => {post: post} 18: %br 19: = post.text 20: %br actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:418:in `find_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:413:in `find_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:294:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:17:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml___3457633357376401981_70195105563340' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:5:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__2113270188239507032_70195099568760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (25.1ms) Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 10:00:25 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (11.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (13.3ms) Completed 500 Internal Server Error in 22ms ActionView::Template::Error (Missing partial mongoid_forums/topics/_quoted, mongoid_forums/application/_quoted with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Business/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Business/mongoid_forums/app/views" * "/Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views" ): 14: 15: %br 16: - if post.reply_to_id 17: = render 'quoted', :locals => {post: post} 18: %br 19: = post.text 20: %br actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:418:in `find_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:413:in `find_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:294:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:17:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml___3457633357376401981_70195145052380' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:5:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__2113270188239507032_70195099568760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.9ms) Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 10:00:30 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (9.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (10.6ms) Completed 500 Internal Server Error in 18ms ActionView::Template::Error (Missing partial posts/_quoted with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Business/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Business/mongoid_forums/app/views" * "/Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views" ): 14: 15: %br 16: - if post.reply_to_id 17: = render 'posts/quoted', :locals => {post: post} 18: %br 19: = post.text 20: %br actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:418:in `find_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:413:in `find_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:294:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:17:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml___3457633357376401981_70195125804860' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:5:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__2113270188239507032_70195099568760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.4ms) Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 10:00:41 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2800ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (17.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (25.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (27.0ms) Completed 500 Internal Server Error in 34ms ActionView::Template::Error (undefined local variable or method `post' for #<#:0x007faf27179980>): 1: > 2: - reply_to = MongoidForums::Post.find(post.reply_to_id) 3: = reply_to.text 4: - if reply_to.reply_to_id 5: = render '_quoted', reply /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__quoted_haml___2855298997330107513_70195098363160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:17:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml___3457633357376401981_70195098731460' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:5:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__2113270188239507032_70195099568760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.8ms) Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 10:01:23 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4560ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (12.8ms) Completed 200 OK in 38ms (Views: 32.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:01:23 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:01:23 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:01:23 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:01:23 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:01:23 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/new?reply_to_id=54b28bb64e65694c3d040000" for ::1 at 2015-01-11 10:01:26 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b28bb64e65694c3d040000", "topic_id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (4.9ms) Completed 200 OK in 37ms (Views: 27.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:01:26 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:01:26 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:01:26 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:01:26 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:01:26 -0500 Started POST "/forums/topics/54b21b8b4e65694a2c200000/posts" for ::1 at 2015-01-11 10:01:28 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"bmDySuY2AG+Nw6iPkzgG7r+rUQ6n40OumT9AccjiYUPW6da2qW8lzzzXHZNmvY16zgb9uA8eBPHRACy/3OuIMw==", "post"=>{"text"=>"sfdsdf", "reply_to_id"=>"54b28bb64e65694c3d040000"}, "commit"=>"Create Reply", "topic_id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b290484e65694c3d070000'), "text"=>"sfdsdf", "topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>BSON::ObjectId('54b28bb64e65694c3d040000'), "updated_at"=>2015-01-11 15:01:28 UTC, "created_at"=>2015-01-11 15:01:28 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.0050ms Redirected to http://localhost:3000/forums/topics/54b21b8b4e65694a2c200000 Completed 302 Found in 10ms Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 10:01:28 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2930ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (0.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4960ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (17.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (29.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (30.6ms) Completed 500 Internal Server Error in 38ms ActionView::Template::Error (undefined local variable or method `reply' for #<#:0x007faf27660520>): 2: - reply_to = MongoidForums::Post.find(post.reply_to_id) 3: = reply_to.text 4: - if reply_to.reply_to_id 5: = render '_quoted', reply /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml:5:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__quoted_haml___2855298997330107513_70195106966420' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:32:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:17:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml___3457633357376401981_70195142512980' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:5:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__2113270188239507032_70195099568760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.8ms) Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 10:01:46 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 97.6610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (3.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (5.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (7.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (8.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (10.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (12.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (14.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (16.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (19.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (21.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (23.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (25.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (27.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (29.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (31.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (33.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (35.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (37.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (39.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (41.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (42.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (44.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (46.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (48.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (50.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (52.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (54.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (55.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (57.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (59.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (61.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (63.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (64.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (66.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (68.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (70.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (72.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (74.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (76.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (78.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (80.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (82.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (84.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (86.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (88.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (89.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (91.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (93.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (95.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (96.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (98.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (100.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (103.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (105.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (108.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (109.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (111.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (113.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (115.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (116.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (118.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (120.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (122.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (123.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (125.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (127.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (129.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (131.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (132.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (134.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (136.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (138.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (140.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (142.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (144.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (145.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (147.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (149.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (151.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (152.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (154.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (156.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (158.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (159.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (161.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (162.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (164.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (166.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (167.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (169.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (171.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (174.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (176.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (177.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (179.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (181.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (182.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (184.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (186.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (188.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (189.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (191.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (193.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (195.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (196.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (198.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (200.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (201.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (203.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (205.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (207.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (208.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (210.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (212.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (213.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (215.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (217.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (218.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (220.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (222.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (224.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (226.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (228.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (230.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (231.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (233.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (235.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (236.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (238.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (241.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (243.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (244.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (246.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (248.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (250.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (252.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (254.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (256.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (258.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (260.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (262.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (263.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (265.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (267.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (268.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (270.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (272.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (273.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (275.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (277.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (278.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (280.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (281.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (283.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (285.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (286.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (288.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (290.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (292.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (293.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (295.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (297.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (298.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (300.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (302.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (305.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (306.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (308.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (310.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (313.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (314.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (316.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (318.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (319.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (321.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (323.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (324.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (326.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (328.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (330.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (332.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (333.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (335.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (337.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (339.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (341.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (343.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (345.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (347.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (349.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (350.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (352.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (353.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (355.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (356.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (358.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (360.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (361.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (363.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (365.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (366.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (368.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (370.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (371.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (373.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (375.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (376.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (378.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (380.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (382.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (383.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (385.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (386.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (388.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (390.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (392.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (393.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (395.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (397.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (398.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (400.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (402.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (404.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (405.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (407.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (409.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (411.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (414.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (514.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (516.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (517.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (519.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (521.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (522.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (524.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (526.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (527.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (529.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (531.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (533.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (534.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (536.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (538.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (539.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (541.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (543.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (544.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (546.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (548.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (550.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (552.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (554.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (555.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (557.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (558.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (560.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (561.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (563.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (565.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (567.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (569.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (570.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (571.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (573.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (575.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (576.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (578.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (579.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (581.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (582.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (584.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (585.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (587.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (589.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (590.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (592.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (593.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (595.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (597.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (598.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (600.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (602.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (603.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (605.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (606.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (608.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (609.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (611.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (612.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (614.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (615.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (617.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (619.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (621.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (622.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (624.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (625.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (627.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (628.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (630.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (631.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (633.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (635.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (636.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (638.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (640.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (641.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (643.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (645.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (646.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (648.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (649.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (652.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (653.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (655.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (657.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (658.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (660.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (661.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (663.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (665.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (667.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (670.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (672.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (674.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (675.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (676.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (678.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (679.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (681.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (682.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (684.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (685.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (687.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (688.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (690.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (692.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (693.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (695.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (696.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (698.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (699.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (701.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (702.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (704.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (705.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (707.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (709.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (710.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (712.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (713.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (715.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (717.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (719.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (720.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (722.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (724.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (726.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (727.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (729.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (730.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (732.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (733.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (735.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (737.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (738.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (740.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (741.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (743.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (745.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (746.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (748.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (749.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (751.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (752.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (754.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (756.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (758.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (759.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (761.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (762.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (763.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (765.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (766.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (768.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (769.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (770.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (772.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (773.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (775.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (777.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (779.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (780.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (782.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (783.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (784.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (786.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (788.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (789.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (791.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (793.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (795.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (796.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (798.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (799.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (801.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (802.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (803.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (805.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (806.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (808.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (809.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (811.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (812.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (814.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (815.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (817.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (818.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (820.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (821.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (823.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (824.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (826.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (827.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (828.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (830.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (831.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (833.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (834.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (836.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (837.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (838.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (840.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (841.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (842.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (844.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (846.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (847.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (860.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (862.1ms) Completed 500 Internal Server Error in 870ms SystemStackError (stack level too deep): actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:79 Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (10.5ms) Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 10:02:05 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4410ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 43.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (46.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (60.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (61.8ms) Completed 200 OK in 95ms (Views: 88.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:02:05 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:02:05 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:02:05 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:02:05 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:02:05 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 10:02:10 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4310ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (0.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (16.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (17.4ms) Completed 200 OK in 46ms (Views: 40.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:02:10 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:02:10 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:02:10 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:02:10 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:02:10 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 10:02:33 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (0.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (15.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (17.0ms) Completed 200 OK in 46ms (Views: 40.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:02:33 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:02:33 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:02:33 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:02:33 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:02:33 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b21b8b4e65694a2c210000/edit" for ::1 at 2015-01-11 10:02:54 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b21b8b4e65694a2c210000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml within layouts/mongoid_forums/application (4.0ms) Completed 200 OK in 34ms (Views: 27.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:02:54 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:02:54 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:02:54 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:02:54 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:02:54 -0500 Started PATCH "/forums/topics/54b21b8b4e65694a2c200000/posts/54b21b8b4e65694a2c210000" for ::1 at 2015-01-11 10:02:57 -0500 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nM766SbRSC1tLsOYy5227XOys/4jK71GJuj6f7fGMFskR94VaYhtjdw6doQ+GD15Ah8fSIvW+hlu15axo8/ZKw==", "post"=>{"text"=>"first post"}, "commit"=>"Update post", "topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b21b8b4e65694a2c210000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6210ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} update={"$set"=>{"text"=>"first post", "updated_at"=>2015-01-11 15:02:57 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms Redirected to http://localhost:3000/forums/topics/54b21b8b4e65694a2c200000 Completed 302 Found in 13ms Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 10:02:57 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3290ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (0.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (0.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (15.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (17.0ms) Completed 200 OK in 97ms (Views: 93.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:02:57 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:02:57 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:02:57 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:02:57 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:02:57 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000/edit" for ::1 at 2015-01-11 10:02:58 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml within layouts/mongoid_forums/application (6.3ms) Completed 200 OK in 34ms (Views: 30.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:02:58 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:02:58 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:02:58 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:02:58 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:02:58 -0500 Started PATCH "/forums/topics/54b21b8b4e65694a2c200000/posts/54b28bb64e65694c3d040000" for ::1 at 2015-01-11 10:03:02 -0500 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"RKeNxistrZkatoSuhD4GmwZe6YBJpnQI2bU01PWbXJn8Lqk6ZHSIOauiMbJxu40Pd/NFNuFbM1eRilga4ZK16Q==", "post"=>{"text"=>"second post"}, "commit"=>"Update post", "topic_id"=>"54b21b8b4e65694a2c200000", "id"=>"54b28bb64e65694c3d040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} update={"$set"=>{"text"=>"second post", "updated_at"=>2015-01-11 15:03:02 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9370ms Redirected to http://localhost:3000/forums/topics/54b21b8b4e65694a2c200000 Completed 302 Found in 9ms Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 10:03:02 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3890ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (0.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (14.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (15.8ms) Completed 200 OK in 45ms (Views: 39.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:03:02 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:03:02 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:03:02 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:03:02 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:03:02 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 10:03:11 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3670ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (0.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (16.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (18.3ms) Completed 200 OK in 48ms (Views: 43.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:03:12 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:03:12 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:03:12 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:03:12 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:03:12 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 10:05:28 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4230ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3510ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (0.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (16.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (17.8ms) Completed 200 OK in 138ms (Views: 132.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:05:28 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:05:28 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:05:28 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:05:28 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:05:28 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 10:05:36 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (15.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (18.2ms) Completed 200 OK in 47ms (Views: 40.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:05:37 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:05:37 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:05:37 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:05:37 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:05:37 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 10:05:44 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4150ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (0.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (14.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (16.2ms) Completed 200 OK in 45ms (Views: 37.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:05:44 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:05:44 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:05:44 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:05:44 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:05:44 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 10:05:56 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4330ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (16.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (18.2ms) Completed 200 OK in 50ms (Views: 44.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:05:57 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:05:57 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:05:57 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:05:57 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:05:57 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 10:06:10 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (3.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (18.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (19.7ms) Completed 200 OK in 97ms (Views: 91.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:06:10 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:06:10 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:06:10 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:06:10 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:06:10 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 10:06:41 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (4.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (16.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (17.6ms) Completed 200 OK in 43ms (Views: 37.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:06:41 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:06:41 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:06:41 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:06:41 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:06:41 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 10:06:45 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (17.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (18.7ms) Completed 200 OK in 50ms (Views: 45.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:06:45 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:06:45 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:06:45 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:06:45 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:06:45 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 10:06:50 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (3.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (16.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (18.2ms) Completed 200 OK in 43ms (Views: 39.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:06:50 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:06:50 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:06:50 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:06:50 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:06:50 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 10:07:10 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3100ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (15.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (17.0ms) Completed 200 OK in 50ms (Views: 41.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:07:10 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:07:10 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:07:10 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:07:10 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:07:10 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 10:07:17 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (18.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (20.2ms) Completed 200 OK in 101ms (Views: 93.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:07:18 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:07:18 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:07:18 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:07:18 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:07:18 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 10:07:24 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (17.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (19.2ms) Completed 200 OK in 56ms (Views: 47.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:07:24 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:07:24 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:07:24 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:07:24 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:07:24 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 10:08:32 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.9500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.6610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (4.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (33.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (41.6ms) Completed 200 OK in 152ms (Views: 95.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:08:32 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:08:32 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:08:32 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:08:32 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:08:32 -0500 Started GET "/forums/topics/54b21b8b4e65694a2c200000" for ::1 at 2015-01-11 10:08:38 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b21b8b4e65694a2c200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b21b8b4e65694a2c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b28bb64e65694c3d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (35.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (36.7ms) Completed 200 OK in 72ms (Views: 66.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:08:38 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:08:38 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:08:38 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:08:38 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:08:38 -0500 Started GET "/forums/" for ::1 at 2015-01-11 10:08:40 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (27.8ms) Completed 200 OK in 57ms (Views: 52.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:08:40 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:08:40 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:08:40 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:08:40 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:08:40 -0500 Started GET "/forums/54b1d27f4e656942f2050000" for ::1 at 2015-01-11 10:08:43 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b1d27f4e656942f2050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (8.5ms) Completed 200 OK in 48ms (Views: 42.9ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:08:43 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:08:43 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:08:43 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:08:43 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:08:43 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:08:45 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (3.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (9.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (11.0ms) Completed 200 OK in 41ms (Views: 35.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:08:45 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:08:45 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:08:45 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:08:45 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:08:45 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:08:54 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (10.0ms) Completed 200 OK in 81ms (Views: 75.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:08:54 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:08:54 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:08:54 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:08:54 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:08:54 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:08:55 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (9.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (11.1ms) Completed 200 OK in 43ms (Views: 36.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:08:55 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:08:55 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:08:55 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:08:55 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:08:55 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:08:55 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (11.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (12.8ms) Completed 200 OK in 45ms (Views: 40.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:08:55 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:08:55 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:08:55 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:08:55 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:08:55 -0500 MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7130ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_ranks selector={"_id"=>BSON::ObjectId('54b20bad4e65694894000000')} update={"$set"=>{"members"=>[BSON::ObjectId('543bc9ce6e65691bff000000'), BSON::ObjectId('54b216624e65694a2c030000')]}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.1280ms Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:09:35 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (11.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (13.7ms) Completed 200 OK in 66ms (Views: 59.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:09:35 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:09:35 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:09:35 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:09:35 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:09:35 -0500 Started GET "/forums/admin" for ::1 at 2015-01-11 10:09:40 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (1.3ms) Completed 200 OK in 36ms (Views: 31.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:09:40 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:09:40 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:09:40 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:09:40 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:09:40 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:09:54 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.9ms) Completed 200 OK in 41ms (Views: 34.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:09:54 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:09:54 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:09:54 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:09:54 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:09:54 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000/posts/new?reply_to_id=54b1d2944e656942f2080000" for ::1 at 2015-01-11 10:09:58 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1d2944e656942f2080000", "topic_id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (3.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (12.8ms) Completed 200 OK in 46ms (Views: 39.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:09:58 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:09:58 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:09:58 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:09:58 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:09:58 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:12:28 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (11.8ms) Completed 200 OK in 69ms (Views: 36.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:12:28 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:12:28 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:12:28 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:12:28 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:12:28 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000/posts/new?reply_to_id=54b1d2944e656942f2080000" for ::1 at 2015-01-11 10:12:29 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1d2944e656942f2080000", "topic_id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (6.9ms) Completed 200 OK in 37ms (Views: 31.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:12:29 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:12:29 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:12:29 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:12:29 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:12:29 -0500 Started POST "/forums/topics/54b1d2944e656942f2070000/posts" for ::1 at 2015-01-11 10:12:31 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"SevaNvsksqZbMz6n/Ths0sORB3kawM1TROxJoYa0JonxYv7KtH2XBuoni7sIvedGsjyrz7I9igwM0yVvkr3P+Q==", "post"=>{"text"=>"", "reply_to_id"=>"54b1d2944e656942f2080000"}, "commit"=>"Create Reply", "topic_id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (19.9ms) Completed 500 Internal Server Error in 35ms ActionView::Template::Error (undefined method `posts_path' for #<#:0x007fd4801afdb8>): 9: %br 10: %br 11: 12: = form_for ([@topic, @post]) do |f| 13: = f.label :text 14: %br 15: = render :partial => "form", :locals => { :f => f } actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:220:in `polymorphic_method' actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:134:in `polymorphic_path' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:466:in `apply_form_for_options!' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:434:in `form_for' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml:12:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts_new_haml___1871993773691016904_70275319376320' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:27:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.5ms) Started POST "/forums/topics/54b1d2944e656942f2070000/posts" for ::1 at 2015-01-11 10:12:35 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"SevaNvsksqZbMz6n/Ths0sORB3kawM1TROxJoYa0JonxYv7KtH2XBuoni7sIvedGsjyrz7I9igwM0yVvkr3P+Q==", "post"=>{"text"=>"sfsdf", "reply_to_id"=>"54b1d2944e656942f2080000"}, "commit"=>"Create Reply", "topic_id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b292e34e65694fb8030000'), "text"=>"sfsdf", "topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>BSON::ObjectId('54b1d2944e656942f2080000'), "updated_at"=>2015-01-11 15:12:35 UTC, "created_at"=>2015-01-11 15:12:35 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4600ms Redirected to http://localhost:3000/forums/topics/54b1d2944e656942f2070000 Completed 302 Found in 10ms Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:12:35 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (3.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (57.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (59.1ms) Completed 200 OK in 86ms (Views: 81.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:12:36 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:12:36 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:12:36 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:12:36 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:12:36 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:12:37 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (15.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (17.3ms) Completed 200 OK in 46ms (Views: 40.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:12:37 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:12:37 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:12:37 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:12:37 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:12:37 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:13:10 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (20.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (21.9ms) Completed 200 OK in 81ms (Views: 47.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:13:10 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:13:10 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:13:10 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:13:10 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:13:10 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000/posts/new?reply_to_id=54b1d2944e656942f2080000" for ::1 at 2015-01-11 10:13:11 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1d2944e656942f2080000", "topic_id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7860ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (50.3ms) Completed 200 OK in 83ms (Views: 77.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:13:11 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:13:11 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:13:11 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:13:11 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:13:11 -0500 Started POST "/forums/topics/54b1d2944e656942f2070000/posts" for ::1 at 2015-01-11 10:13:12 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"A5U7ZDpQXe8jRCcX8Zupj6KuWzt5honHcjYTyUcqObO7HB+YdQl4T5JQkgsEHiIb0wP3jdF7zpg6CX8HUyPQww==", "post"=>{"text"=>"", "reply_to_id"=>"54b1d2944e656942f2080000"}, "commit"=>"Create Reply", "topic_id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6400ms Completed 500 Internal Server Error in 5ms NoMethodError (undefined method `topic' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:14:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (19.4ms) Started POST "/forums/topics/54b1d2944e656942f2070000/posts" for ::1 at 2015-01-11 10:13:13 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"A5U7ZDpQXe8jRCcX8Zupj6KuWzt5honHcjYTyUcqObO7HB+YdQl4T5JQkgsEHiIb0wP3jdF7zpg6CX8HUyPQww==", "post"=>{"text"=>"sfsdf", "reply_to_id"=>"54b1d2944e656942f2080000"}, "commit"=>"Create Reply", "topic_id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8290ms Completed 500 Internal Server Error in 4ms NoMethodError (undefined method `topic' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:14:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (19.0ms) Started GET "/forums/topics/54b1d2944e656942f2070000/posts/new?reply_to_id=54b1d2944e656942f2080000" for ::1 at 2015-01-11 10:13:54 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1d2944e656942f2080000", "topic_id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (5.6ms) Completed 200 OK in 57ms (Views: 29.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:13:54 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:13:54 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:13:54 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:13:54 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:13:54 -0500 Started POST "/forums/topics/54b1d2944e656942f2070000/posts" for ::1 at 2015-01-11 10:13:56 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"bfEpKWYTxowMlrvKDe/Wic4gIsFeHkN6351k64m8AkbVeA3VKUrjLL2CDtb4al0dv42Od/bjBCWXogglnbXrNg==", "post"=>{"text"=>"sdfsdf", "reply_to_id"=>"54b1d2944e656942f2080000"}, "commit"=>"Create Reply", "topic_id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms Redirected to http://localhost:3000/forums/topics/54b1d2944e656942f2070000 MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b293344e65694fb8060000'), "text"=>"sdfsdf", "topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>BSON::ObjectId('54b1d2944e656942f2080000'), "updated_at"=>2015-01-11 15:13:56 UTC, "created_at"=>2015-01-11 15:13:56 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5320ms Redirected to Completed 500 Internal Server Error in 12ms AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like "redirect_to(...) and return".): actionpack (4.2.0) lib/action_controller/metal/redirecting.rb:72:in `redirect_to' actionpack (4.2.0) lib/action_controller/metal/flash.rb:57:in `redirect_to' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:61:in `block in redirect_to' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:60:in `redirect_to' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:28:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (6.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (28.9ms) Started POST "/forums/topics/54b1d2944e656942f2070000/posts" for ::1 at 2015-01-11 10:14:04 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"bfEpKWYTxowMlrvKDe/Wic4gIsFeHkN6351k64m8AkbVeA3VKUrjLL2CDtb4al0dv42Od/bjBCWXogglnbXrNg==", "post"=>{"text"=>"sdfsdf", "reply_to_id"=>"54b1d2944e656942f2080000"}, "commit"=>"Create Reply", "topic_id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms Redirected to http://localhost:3000/forums/topics/54b1d2944e656942f2070000 Completed 302 Found in 33ms Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:14:04 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (24.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (25.9ms) Completed 200 OK in 59ms (Views: 53.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:14:04 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:14:04 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:14:04 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:14:04 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:14:04 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:14:05 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2990ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (19.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (21.0ms) Completed 200 OK in 43ms (Views: 37.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:14:06 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:14:06 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:14:06 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:14:06 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:14:06 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:14:55 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (18.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (20.0ms) Completed 200 OK in 95ms (Views: 66.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:14:55 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:14:55 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:14:55 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:14:55 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:14:55 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000/posts/new?reply_to_id=54b1d2944e656942f2080000" for ::1 at 2015-01-11 10:14:57 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1d2944e656942f2080000", "topic_id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (6.5ms) Completed 200 OK in 35ms (Views: 29.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:14:57 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:14:57 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:14:57 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:14:57 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:14:57 -0500 Started POST "/forums/topics/54b1d2944e656942f2070000/posts" for ::1 at 2015-01-11 10:14:59 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"89TPjwbqoEXL8IDt9nZHYz/Fa3sSLC2ucyZpT59iFlxLXetzSbOF5XrkNfED88z3TmjHzbrRavE7GQWBi2v/LA==", "post"=>{"text"=>"sdfsdf", "reply_to_id"=>"54b1d2944e656942f2080000"}, "commit"=>"Create Reply", "topic_id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6540ms Redirected to http://localhost:3000/forums/topics/54b1d2944e656942f2070000 Completed 302 Found in 9ms Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:14:59 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2930ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (20.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (21.6ms) Completed 200 OK in 48ms (Views: 42.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:15:00 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:15:00 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:15:00 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:15:00 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:15:00 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:15:01 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (22.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (24.6ms) Completed 200 OK in 49ms (Views: 44.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:15:01 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:15:01 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:15:01 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:15:01 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:15:01 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:15:08 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (22.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (24.1ms) Completed 200 OK in 78ms (Views: 45.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:15:09 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:15:09 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:15:09 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:15:09 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:15:09 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000/posts/new?reply_to_id=54b1d2944e656942f2080000" for ::1 at 2015-01-11 10:15:09 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1d2944e656942f2080000", "topic_id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (5.9ms) Completed 200 OK in 32ms (Views: 25.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:15:09 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:15:09 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:15:10 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:15:10 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:15:10 -0500 Started POST "/forums/topics/54b1d2944e656942f2070000/posts" for ::1 at 2015-01-11 10:15:11 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MvtfsxXLfFaqtCbdbD56YmZCevNlpvRSJDtiFJsd29yKcntPWpJZ9hugk8GZu/H2F+/WRc1bsw1sBA7ajxQyrA==", "post"=>{"text"=>"sdfdsf", "reply_to_id"=>"54b1d2944e656942f2080000"}, "commit"=>"Create Reply", "topic_id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms Redirected to http://localhost:3000/forums/topics/54b1d2944e656942f2070000 Completed 302 Found in 8ms Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:15:11 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (39.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (40.6ms) Completed 200 OK in 72ms (Views: 66.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:15:11 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:15:11 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:15:11 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:15:11 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:15:11 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:15:12 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (22.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (24.2ms) Completed 200 OK in 48ms (Views: 43.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:15:12 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:15:12 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:15:12 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:15:12 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:15:12 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:15:13 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (21.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (22.5ms) Completed 200 OK in 51ms (Views: 46.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:15:13 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:15:13 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:15:13 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:15:13 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:15:13 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:15:14 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3140ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (24.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (26.2ms) Completed 200 OK in 53ms (Views: 48.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:15:14 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:15:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:15:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:15:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:15:14 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000/posts/new?reply_to_id=54b1d2944e656942f2080000" for ::1 at 2015-01-11 10:15:17 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1d2944e656942f2080000", "topic_id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (6.5ms) Completed 200 OK in 36ms (Views: 30.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:15:17 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:15:17 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:15:17 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:15:17 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:15:17 -0500 Started POST "/forums/topics/54b1d2944e656942f2070000/posts" for ::1 at 2015-01-11 10:15:19 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nobMO2V3BhastdVdoNxZ/plsu1wOd4oWKtBf/D91e98mD+jHKi4jth2hYEFVWdJq6MEX6qaKzUli7zMyK3ySrw==", "post"=>{"text"=>"sdfsdf", "reply_to_id"=>"54b1d2944e656942f2080000"}, "commit"=>"Create Reply", "topic_id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms Redirected to http://localhost:3000/forums/topics/54b1d2944e656942f2070000 Completed 302 Found in 6ms Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:15:19 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (23.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (25.7ms) Completed 200 OK in 54ms (Views: 48.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:15:19 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:15:19 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:15:19 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:15:19 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:15:19 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:15:20 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (3.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (22.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (23.4ms) Completed 200 OK in 45ms (Views: 40.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:15:20 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:15:20 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:15:20 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:15:20 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:15:20 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:15:20 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (3.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3100ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (37.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (39.1ms) Completed 200 OK in 68ms (Views: 63.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:15:20 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:15:20 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:15:20 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:15:20 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:15:20 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:15:20 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6970ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (3.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2910ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (21.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (23.2ms) Completed 200 OK in 50ms (Views: 44.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:15:20 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:15:20 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:15:20 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:15:20 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:15:20 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:15:34 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (22.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (24.3ms) Completed 200 OK in 83ms (Views: 50.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:15:34 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:15:34 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:15:34 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:15:34 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:15:34 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000/posts/new?reply_to_id=54b1d2944e656942f2080000" for ::1 at 2015-01-11 10:15:35 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1d2944e656942f2080000", "topic_id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (6.8ms) Completed 200 OK in 36ms (Views: 30.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:15:35 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:15:35 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:15:35 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:15:35 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:15:35 -0500 Started POST "/forums/topics/54b1d2944e656942f2070000/posts" for ::1 at 2015-01-11 10:15:37 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"max3WASgGY2LvENhxQX08qtMw+DVkSW8QYxT0knLHt4hJVOkS/k8LTqo9n0wgH9m2uFvVn1sYuMJsz8cXcL3rg==", "post"=>{"text"=>"sdfsdf", "reply_to_id"=>"54b1d2944e656942f2080000"}, "commit"=>"Create Reply", "topic_id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms Redirected to http://localhost:3000/forums/topics/54b1d2944e656942f2070000 Completed 302 Found in 6ms Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:15:37 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (23.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (24.9ms) Completed 200 OK in 54ms (Views: 48.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:15:37 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:15:37 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:15:37 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:15:37 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:15:37 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:15:42 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6840ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (22.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (24.4ms) Completed 200 OK in 79ms (Views: 47.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:15:42 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:15:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:15:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:15:42 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:15:42 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000/posts/new?reply_to_id=54b1d2944e656942f2080000" for ::1 at 2015-01-11 10:15:43 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1d2944e656942f2080000", "topic_id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (5.5ms) Completed 200 OK in 34ms (Views: 29.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:15:43 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:15:43 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:15:43 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:15:43 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:15:43 -0500 Started POST "/forums/topics/54b1d2944e656942f2070000/posts" for ::1 at 2015-01-11 10:15:45 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"d8Dpsrzp5Az3LUK0LLML++ad7Ht2M847rE808p9ufuDPSc1O87DBrEY596jZNoBvlzBAzd7OiWTkcFg8i2eXkA==", "post"=>{"text"=>"sdfsdf", "reply_to_id"=>"54b1d2944e656942f2080000"}, "commit"=>"Create Reply", "topic_id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms Redirected to http://localhost:3000/forums/topics/54b1d2944e656942f2070000 Completed 302 Found in 10ms Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:15:45 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (22.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (23.5ms) Completed 200 OK in 49ms (Views: 44.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:15:45 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:15:45 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:15:45 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:15:45 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:15:45 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:15:46 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (3.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (25.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (26.8ms) Completed 200 OK in 53ms (Views: 47.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:15:46 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:15:46 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:15:46 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:15:46 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:15:46 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000/posts/new?reply_to_id=54b292e34e65694fb8030000" for ::1 at 2015-01-11 10:15:47 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b292e34e65694fb8030000", "topic_id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b292e34e65694fb8030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (5.3ms) Completed 200 OK in 33ms (Views: 27.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:15:47 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:15:47 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:15:48 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:15:48 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:15:48 -0500 Started POST "/forums/topics/54b1d2944e656942f2070000/posts" for ::1 at 2015-01-11 10:15:49 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"wArOcpsAYHUNqIkjXVVFgvZAItlhuBekGGh6qZxG1yJ4g+qO1FlF1by8PD+o0M4Wh+2Ob8lFUPtQVxZniE8+Ug==", "post"=>{"text"=>"sdfsdf", "reply_to_id"=>"54b292e34e65694fb8030000"}, "commit"=>"Create Reply", "topic_id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b293a64e65694fb8130000'), "text"=>"sdfsdf", "topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>BSON::ObjectId('54b292e34e65694fb8030000'), "updated_at"=>2015-01-11 15:15:50 UTC, "created_at"=>2015-01-11 15:15:50 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5540ms Redirected to http://localhost:3000/forums/topics/54b1d2944e656942f2070000 Completed 302 Found in 10ms Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:15:50 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3080ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b292e34e65694fb8030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b292e34e65694fb8030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (28.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (30.1ms) Completed 200 OK in 78ms (Views: 72.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:15:50 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:15:50 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:15:50 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:15:50 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:15:50 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:15:51 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3090ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b292e34e65694fb8030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b292e34e65694fb8030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (27.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (29.3ms) Completed 200 OK in 53ms (Views: 49.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:15:51 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:15:51 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:15:51 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:15:51 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:15:51 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:18:14 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b292e34e65694fb8030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b292e34e65694fb8030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (29.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (31.3ms) Completed 200 OK in 91ms (Views: 57.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:18:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:18:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:18:14 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:18:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:18:14 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000/posts/54b1d2944e656942f2080000/edit" for ::1 at 2015-01-11 10:18:15 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b1d2944e656942f2070000", "id"=>"54b1d2944e656942f2080000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml within layouts/mongoid_forums/application (7.4ms) Completed 200 OK in 43ms (Views: 38.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:18:15 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:18:15 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:18:15 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:18:15 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:18:15 -0500 Started GET "/forums/topics/54b1d2944e656942f2070000" for ::1 at 2015-01-11 10:19:22 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1d2944e656942f2070000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 23.6660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1d2944e656942f2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b292e34e65694fb8030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b292e34e65694fb8030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (54.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (55.8ms) Completed 200 OK in 112ms (Views: 78.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:19:22 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:19:22 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:19:22 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:19:22 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:19:22 -0500 Started GET "/forums/" for ::1 at 2015-01-11 10:19:30 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (24.6ms) Completed 200 OK in 50ms (Views: 46.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:19:30 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:19:30 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:19:30 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:19:30 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:19:30 -0500 Started GET "/forums/" for ::1 at 2015-01-11 10:21:19 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (15.9ms) Completed 200 OK in 43ms (Views: 39.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:21:19 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:21:19 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:21:19 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:21:19 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:21:19 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 10:21:21 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (17.1ms) Completed 200 OK in 48ms (Views: 40.6ms) Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:21:21 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:21:21 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:21:21 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:21:21 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:21:21 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 10:21:22 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (27.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (29.5ms) Completed 200 OK in 62ms (Views: 53.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:21:22 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:21:22 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:21:22 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:21:22 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:21:22 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new?reply_to_id=54b1adfb4e65693544180000" for ::1 at 2015-01-11 10:21:25 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1adfb4e65693544180000", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (6.9ms) Completed 200 OK in 37ms (Views: 32.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:21:25 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:21:25 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:21:25 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:21:25 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:21:25 -0500 Started POST "/forums/topics/54b1adfb4e65693544170000/posts" for ::1 at 2015-01-11 10:21:26 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"vQ3XZsI8zZ/vEBXHdDnEv1DP1e+FOB6Nk5Ny+T+q90QFhPOajWXoP14EoNuBvE8rIWJ5WS3FWdLbrB43K6MeNA==", "post"=>{"text"=>"sdfsdf", "reply_to_id"=>"54b1adfb4e65693544180000"}, "commit"=>"Create Reply", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0180ms Redirected to http://localhost:3000/forums/topics/54b1adfb4e65693544170000 Completed 302 Found in 10ms Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 10:21:26 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (89.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (90.4ms) Completed 200 OK in 119ms (Views: 112.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:21:27 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:21:27 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:21:27 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:21:27 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:21:27 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new?reply_to_id=54b1ae024e656935441a0000" for ::1 at 2015-01-11 10:21:29 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b1ae024e656935441a0000", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (5.7ms) Completed 200 OK in 45ms (Views: 39.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:21:29 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:21:29 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:21:29 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:21:29 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:21:29 -0500 Started POST "/forums/topics/54b1adfb4e65693544170000/posts" for ::1 at 2015-01-11 10:21:31 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"hoJxqp+Nj9ErHgDu0MQ64uw7JKq43fJqTNN4Xfh06BU+C1VW0NSqcZoKtfIlQbF2nZaIHBAgtTUE7BST7H0BZQ==", "post"=>{"text"=>"hello", "reply_to_id"=>"54b1ae024e656935441a0000"}, "commit"=>"Create Reply", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b294fb4e65694fb8170000'), "text"=>"hello", "topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>BSON::ObjectId('54b1ae024e656935441a0000'), "updated_at"=>2015-01-11 15:21:31 UTC, "created_at"=>2015-01-11 15:21:31 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5890ms Redirected to http://localhost:3000/forums/topics/54b1adfb4e65693544170000 Completed 302 Found in 12ms Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 10:21:31 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (4.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (42.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (46.0ms) Completed 200 OK in 91ms (Views: 81.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:21:31 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:21:31 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:21:31 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:21:31 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:21:31 -0500 Started GET "/forums/t" for ::1 at 2015-01-11 10:21:43 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"t"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>"t"} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3600ms Completed 404 Not Found in 4ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) t. Summary: When calling MongoidForums::Forum.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): t ... (1 total) and the following ids were not found: t. Resolution: Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.): mongoid (4.0.0) lib/mongoid/criteria.rb:475:in `check_for_missing_documents!' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:20:in `execute_or_raise' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:40:in `find' mongoid (4.0.0) lib/mongoid/findable.rb:90:in `find' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:10:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (25.2ms) Started GET "/forums/" for ::1 at 2015-01-11 10:21:45 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (17.2ms) Completed 200 OK in 38ms (Views: 35.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:21:46 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:21:46 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:21:46 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:21:46 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:21:46 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 10:21:47 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (14.5ms) Completed 200 OK in 60ms (Views: 55.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:21:47 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:21:47 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:21:47 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:21:47 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:21:47 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-11 10:21:48 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (64.8ms) Completed 200 OK in 99ms (Views: 92.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:21:48 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:21:48 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:21:48 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:21:48 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:21:48 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 10:22:00 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"i1QhcgOiURFSxkx5I71QyFbA+XfNilXnRuJX11Ta75Iz3QWOTPt0sePS+WXWONtcJ21VwWV3ErgO3TsZQNMG4g==", "topic"=>{"name"=>"Leon Koole is cool", "posts"=>{"text"=>"yeah, he 2 op for no css"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b295184e65694fb8190000'), "name"=>"Leon Koole is cool", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-11 15:22:00 UTC, "created_at"=>2015-01-11 15:22:00 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b295184e65694fb8190000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b295184e65694fb81a0000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"yeah, he 2 op for no css", "topic_id"=>BSON::ObjectId('54b295184e65694fb8190000'), "updated_at"=>2015-01-11 15:22:00 UTC, "created_at"=>2015-01-11 15:22:00 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6350ms Redirected to http://localhost:3000/forums/topics/54b295184e65694fb8190000 Completed 302 Found in 16ms Started GET "/forums/topics/54b295184e65694fb8190000" for ::1 at 2015-01-11 10:22:00 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b295184e65694fb8190000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b295184e65694fb8190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b295184e65694fb8190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (4.5ms) Completed 200 OK in 33ms (Views: 27.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:22:00 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:22:00 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:22:00 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:22:00 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:22:00 -0500 Started GET "/forums/topics/54b295184e65694fb8190000/posts/new" for ::1 at 2015-01-11 10:22:20 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b295184e65694fb8190000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b295184e65694fb8190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b295184e65694fb8190000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (3.9ms) Completed 200 OK in 37ms (Views: 31.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:22:20 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:22:20 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:22:20 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:22:20 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:22:20 -0500 Started GET "/forums/" for ::1 at 2015-01-11 10:30:56 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b295184e65694fb8190000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b295184e65694fb8190000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (17.5ms) Completed 200 OK in 46ms (Views: 42.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:30:56 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:30:56 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:30:56 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:30:56 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:30:56 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 10:30:57 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b295184e65694fb8190000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b295184e65694fb8190000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (19.4ms) Completed 200 OK in 47ms (Views: 41.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:30:58 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:30:58 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:30:58 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:30:58 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:30:58 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 10:30:58 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (31.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (32.8ms) Completed 200 OK in 58ms (Views: 53.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:30:58 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:30:58 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:30:58 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:30:58 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:30:58 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/54b1adfb4e65693544180000/edit" for ::1 at 2015-01-11 10:31:01 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b1adfb4e65693544170000", "id"=>"54b1adfb4e65693544180000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml within layouts/mongoid_forums/application (4.2ms) Completed 200 OK in 57ms (Views: 50.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:31:01 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:31:01 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:31:01 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:31:01 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:31:01 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 10:38:03 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8680ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (3.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (40.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (42.7ms) Completed 200 OK in 76ms (Views: 68.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:38:03 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:38:03 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:38:03 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:38:03 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:38:03 -0500 Started GET "/forums/" for ::1 at 2015-01-11 10:38:06 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b295184e65694fb8190000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b295184e65694fb8190000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (16.8ms) Completed 200 OK in 45ms (Views: 41.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:38:06 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:38:06 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:38:06 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:38:06 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:38:06 -0500 Started GET "/forums/" for ::1 at 2015-01-11 10:38:07 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b295184e65694fb8190000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b295184e65694fb8190000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (21.9ms) Completed 200 OK in 52ms (Views: 48.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:38:07 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:38:07 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:38:07 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:38:07 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:38:07 -0500 Started GET "/forums/" for ::1 at 2015-01-11 10:38:07 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b295184e65694fb8190000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b295184e65694fb8190000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (16.8ms) Completed 200 OK in 43ms (Views: 39.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:38:07 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:38:07 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:38:07 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:38:07 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:38:07 -0500 Started GET "/forums/" for ::1 at 2015-01-11 10:38:07 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b295184e65694fb8190000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b295184e65694fb8190000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (18.1ms) Completed 200 OK in 43ms (Views: 39.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:38:07 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:38:07 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:38:07 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:38:07 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:38:07 -0500 Started GET "/forums/" for ::1 at 2015-01-11 10:38:08 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b295184e65694fb8190000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b295184e65694fb8190000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (21.4ms) Completed 200 OK in 45ms (Views: 42.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:38:08 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:38:08 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:38:08 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:38:08 -0500 Started GET "/forums/" for ::1 at 2015-01-11 10:38:08 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b295184e65694fb8190000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b295184e65694fb8190000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (16.0ms) Completed 200 OK in 45ms (Views: 42.2ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:38:08 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:38:08 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:38:08 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:38:08 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:38:08 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:38:08 -0500 Started GET "/forums/" for ::1 at 2015-01-11 10:38:08 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b295184e65694fb8190000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b295184e65694fb8190000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (23.9ms) Completed 200 OK in 53ms (Views: 48.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:38:08 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:38:08 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:38:08 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:38:08 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:38:08 -0500 Started GET "/forums/54b1d27f4e656942f2050000" for ::1 at 2015-01-11 10:38:10 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b1d27f4e656942f2050000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.9ms) Completed 200 OK in 37ms (Views: 30.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:38:10 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:38:10 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:38:10 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:38:10 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:38:10 -0500 Started GET "/forums/" for ::1 at 2015-01-11 10:44:28 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b295184e65694fb8190000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b295184e65694fb8190000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1d27f4e656942f2050000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1d2944e656942f2070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b1f5354e656942f2120000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (43.2ms) Completed 200 OK in 86ms (Views: 69.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:44:28 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:44:28 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:44:28 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:44:28 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:44:28 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 10:44:29 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b295184e65694fb8190000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b295184e65694fb8190000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (20.8ms) Completed 200 OK in 47ms (Views: 41.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:44:29 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:44:29 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:44:29 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:44:29 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:44:29 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 10:44:30 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2970ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (28.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (31.2ms) Completed 200 OK in 61ms (Views: 56.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:44:30 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:44:30 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:44:30 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:44:30 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:44:30 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-11 10:44:33 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (27.8ms) Completed 200 OK in 66ms (Views: 58.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 10:44:34 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 10:44:34 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 10:44:34 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 10:44:34 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 10:44:34 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:04:56 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b295184e65694fb8190000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b295184e65694fb8190000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (39.8ms) Completed 200 OK in 108ms (Views: 72.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:04:56 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:04:56 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:04:56 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:04:56 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:04:56 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 11:04:57 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (31.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (32.8ms) Completed 200 OK in 66ms (Views: 59.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:04:57 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:04:57 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:04:57 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:04:57 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:04:57 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:22:07 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b208e24e65694803040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b21b8b4e65694a2c200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b295184e65694fb8190000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b295184e65694fb8190000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (27.4ms) Completed 200 OK in 116ms (Views: 81.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:22:07 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:22:07 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:22:07 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:22:07 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:22:07 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 11:22:08 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (29.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (30.5ms) Completed 200 OK in 58ms (Views: 52.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:22:08 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:22:08 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:22:08 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:22:08 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:22:08 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000/posts/new" for ::1 at 2015-01-11 11:22:09 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2940ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (3.3ms) Completed 200 OK in 32ms (Views: 25.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:22:09 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:22:09 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:22:09 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:22:09 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:22:09 -0500 Started POST "/forums/topics/54b1adfb4e65693544170000/posts" for ::1 at 2015-01-11 11:22:11 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"5i3VwtKnVUPAhiCevoG/x9ahOV3jO9uE+VsJEYEgxUNepPE+nf5w43GSlYJLBDRTpwyV60vGnNuxZGXflSksMw==", "post"=>{"text"=>"sdfsd"}, "commit"=>"Create Reply", "topic_id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b2a3334e65694fb81e0000'), "text"=>"sdfsd", "topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-11 16:22:11 UTC, "created_at"=>2015-01-11 16:22:11 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5650ms Redirected to http://localhost:3000/forums/topics/54b1adfb4e65693544170000 Completed 302 Found in 11ms Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 11:22:11 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1f5174e656942f20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3090ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b1ae024e656935441a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (34.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (35.5ms) Completed 200 OK in 66ms (Views: 60.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:22:12 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:22:12 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:22:12 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:22:12 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:22:12 -0500 Started GET "/forums/topics/54b1adfb4e65693544170000" for ::1 at 2015-01-11 11:23:14 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b1adfb4e65693544170000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b1adfb4e65693544170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3540ms Completed 404 Not Found in 6ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Topic with id(s) 54b1adfb4e65693544170000. Summary: When calling MongoidForums::Topic.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): 54b1adfb4e65693544170000 ... (1 total) and the following ids were not found: 54b1adfb4e65693544170000. Resolution: Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.): mongoid (4.0.0) lib/mongoid/criteria.rb:475:in `check_for_missing_documents!' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:20:in `execute_or_raise' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:40:in `find' mongoid (4.0.0) lib/mongoid/findable.rb:90:in `find' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:22:in `current_resource' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:30:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (31.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (50.3ms) Started GET "/forums/" for ::1 at 2015-01-11 11:23:17 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3410ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (5.7ms) Completed 200 OK in 31ms (Views: 27.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:23:17 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:23:17 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:23:17 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:23:17 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:23:17 -0500 Started GET "/forums/" for ::1 at 2015-01-11 11:23:17 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b1d05c4e656942f2010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (4.1ms) Completed 200 OK in 32ms (Views: 28.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:23:17 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:23:17 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:23:17 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:23:17 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:23:17 -0500 Started GET "/forums/" for ::1 at 2015-01-11 11:23:28 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (3.3ms) Completed 200 OK in 27ms (Views: 24.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:23:28 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:23:28 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:23:28 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:23:28 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:23:28 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:23:29 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3010ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.4ms) Completed 200 OK in 29ms (Views: 24.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:23:29 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:23:29 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:23:29 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:23:29 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:23:29 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-11 11:23:30 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3330ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (7.2ms) Completed 200 OK in 34ms (Views: 29.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:23:30 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:23:30 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:23:30 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:23:30 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:23:30 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 11:23:36 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"bq8fxUS/8DlqHs8ZxDsm4ZwRKh3QYLpS4sjPOkAGxPnWJjs5C+bVmdsKegUxvq117byGq3id/Q2q96P0VA8tiQ==", "topic"=>{"name"=>"A topic", "posts"=>{"text"=>"hello world"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"A topic", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-11 16:23:36 UTC, "created_at"=>2015-01-11 16:23:36 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b2a3884e65694fb8210000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"hello world", "topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000'), "updated_at"=>2015-01-11 16:23:36 UTC, "created_at"=>2015-01-11 16:23:36 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7110ms Redirected to http://localhost:3000/forums/topics/54b2a3884e65694fb8200000 Completed 302 Found in 16ms Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-11 11:23:36 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.8ms) Completed 200 OK in 36ms (Views: 30.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:23:36 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:23:36 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:23:36 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:23:36 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:23:36 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-11 11:24:19 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (6.0ms) Completed 200 OK in 68ms (Views: 32.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:24:19 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:24:19 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:24:19 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:24:19 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:24:19 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:24:22 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (6.5ms) Completed 200 OK in 61ms (Views: 40.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:24:22 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:24:22 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:24:22 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:24:22 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:24:22 -0500 Started GET "/forums/" for ::1 at 2015-01-11 11:24:28 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (11.0ms) Completed 200 OK in 36ms (Views: 31.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:24:29 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:24:29 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:24:29 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:24:29 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:24:29 -0500 Started GET "/f" for ::1 at 2015-01-11 11:24:32 -0500 ActionController::RoutingError (No route matches [GET] "/f"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (3.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (48.2ms) Started GET "/" for ::1 at 2015-01-11 11:24:34 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6640ms Rendered partials/_nav.haml (3.7ms) Completed 200 OK in 37ms (Views: 37.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:24:34 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:24:34 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:24:34 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:24:34 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:24:34 -0500 Started GET "/users/sign_out" for ::1 at 2015-01-11 11:24:35 -0500 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms Redirected to http://localhost:3000/ Completed 302 Found in 8ms Started GET "/" for ::1 at 2015-01-11 11:24:35 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) Rendered partials/_nav.haml (3.2ms) Completed 200 OK in 25ms (Views: 24.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:24:35 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:24:35 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:24:35 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:24:35 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:24:35 -0500 Started GET "/users/sign_in" for ::1 at 2015-01-11 11:24:36 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (8.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (24.6ms) Rendered partials/_nav.haml (0.3ms) Completed 200 OK in 63ms (Views: 52.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:24:36 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:24:36 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:24:36 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:24:36 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:24:36 -0500 Started POST "/users/sign_in" for ::1 at 2015-01-11 11:24:40 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"0RtNkzCu/vMX+da5LPuXxCfttRLzyqcb7xyiBJ6VKIGpulwKP46Mtyc/ruweNFqXK6hGB1shz8biMz6JjgqwIA==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"neilj.ny@gmail.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"last_sign_in_at"=>2015-01-11 05:46:41 UTC, "current_sign_in_at"=>2015-01-11 16:24:40 UTC, "sign_in_count"=>10}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5290ms Redirected to http://localhost:3000/ Completed 302 Found in 96ms Started GET "/" for ::1 at 2015-01-11 11:24:40 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms Rendered partials/_nav.haml (1.6ms) Completed 200 OK in 25ms (Views: 25.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:24:40 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:24:40 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:24:40 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:24:40 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:24:40 -0500 Started GET "/forums/" for ::1 at 2015-01-11 11:24:43 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (10.0ms) Completed 200 OK in 41ms (Views: 36.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:24:44 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:24:44 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:24:44 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:24:44 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:24:44 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:24:45 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (6.8ms) Completed 200 OK in 42ms (Views: 37.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:24:45 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:24:45 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:24:45 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:24:45 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:24:45 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-11 11:24:46 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (5.9ms) Completed 200 OK in 42ms (Views: 35.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:24:47 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:24:47 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:24:47 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:24:47 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:24:47 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 11:25:01 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"RwNCchL7dgW2hwnGByiaIN3RupCw/2TGFZIukzONP5tzMmqL7MbuhdKH25rtVaPOT3017UtpGt0C/Zf7AJI/Gg==", "topic"=>{"name"=>"Another topic", "posts"=>{"text"=>"dlrow olleh"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"Another topic", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-11 16:25:01 UTC, "created_at"=>2015-01-11 16:25:01 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8240000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "text"=>"dlrow olleh", "topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "updated_at"=>2015-01-11 16:25:01 UTC, "created_at"=>2015-01-11 16:25:01 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5530ms Redirected to http://localhost:3000/forums/topics/54b2a3dd4e65694fb8230000 Completed 302 Found in 17ms Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-11 11:25:01 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (4.9ms) Completed 200 OK in 33ms (Views: 27.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:25:01 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:25:01 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:25:01 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:25:01 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:25:01 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:25:04 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (11.2ms) Completed 200 OK in 79ms (Views: 74.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:25:04 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:25:04 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:25:04 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:25:04 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:25:04 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:25:12 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (10.0ms) Completed 200 OK in 39ms (Views: 34.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:25:12 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:25:12 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:25:12 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:25:12 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:25:12 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:25:31 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (21.3ms) Completed 200 OK in 72ms (Views: 44.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:25:31 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:25:31 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:25:31 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:25:31 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:25:31 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:25:33 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (10.6ms) Completed 200 OK in 36ms (Views: 30.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:25:33 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:25:33 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:25:33 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:25:33 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:25:33 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-11 11:25:36 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.3ms) Completed 200 OK in 79ms (Views: 35.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:25:36 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:25:36 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:25:36 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:25:36 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:25:36 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:26:06 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (12.6ms) Completed 200 OK in 52ms (Views: 39.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:26:06 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:26:06 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:26:06 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:26:06 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:26:06 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:26:07 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (10.8ms) Completed 200 OK in 40ms (Views: 35.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:26:07 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:26:07 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:26:07 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:26:07 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:26:07 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:26:11 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (10.7ms) Completed 200 OK in 38ms (Views: 32.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:26:11 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:26:11 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:26:11 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:26:11 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:26:11 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:26:12 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (11.2ms) Completed 200 OK in 44ms (Views: 38.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:26:12 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:26:12 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:26:12 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:26:12 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:26:12 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:27:18 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (16.3ms) Completed 200 OK in 67ms (Views: 38.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:27:19 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:27:19 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:27:19 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:27:19 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:27:19 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:27:32 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (10.2ms) Completed 200 OK in 41ms (Views: 36.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:27:32 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:27:32 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:27:32 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:27:32 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:27:32 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:27:42 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (6.3ms) Completed 200 OK in 32ms (Views: 26.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:27:43 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:27:43 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:27:43 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:27:43 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:27:43 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-11 11:27:43 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8340ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.4ms) Completed 200 OK in 43ms (Views: 36.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:27:43 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:27:43 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:27:43 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:27:43 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:27:43 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-11 11:27:45 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4310ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 5ms Started GET "/forums/" for ::1 at 2015-01-11 11:27:45 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (9.8ms) Completed 200 OK in 72ms (Views: 68.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:27:45 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:27:45 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:27:45 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:27:45 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:27:45 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:27:47 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (6.0ms) Completed 200 OK in 39ms (Views: 31.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:27:47 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:27:47 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:27:47 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:27:47 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:27:47 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:27:57 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (11.2ms) Completed 200 OK in 46ms (Views: 39.6ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:27:57 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:27:57 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:27:57 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:27:57 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:27:57 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:28:12 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (12.2ms) Completed 200 OK in 39ms (Views: 33.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:28:12 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:28:12 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:28:12 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:28:12 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:28:12 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:28:25 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (13.4ms) Completed 200 OK in 42ms (Views: 37.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:28:25 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:28:25 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:28:25 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:28:25 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:28:25 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:29:15 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (17.2ms) Completed 200 OK in 69ms (Views: 39.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:29:16 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:29:16 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:29:16 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:29:16 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:29:16 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:29:42 -0500 SyntaxError (/Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:11: syntax error, unexpected tFID, expecting keyword_end): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:11: syntax error, unexpected tFID, expecting keyword_end activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load' activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:647:in `new_constants_in' activesupport (4.2.0) lib/active_support/dependencies.rb:456:in `load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:354:in `require_or_load' activesupport (4.2.0) lib/active_support/dependencies.rb:494:in `load_missing_constant' activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' activesupport (4.2.0) lib/active_support/dependencies.rb:566:in `get' activesupport (4.2.0) lib/active_support/dependencies.rb:597:in `constantize' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (15.7ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:29:47 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5620ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (1.2ms) Completed 500 Internal Server Error in 38ms ActionView::Template::Error (undefined method `hidden' for true:TrueClass): 13: Last post 14: 15: - @topics.each do |topic| 16: - if allow? "mongoid_forums/topics", :show, topic 17: %tr 18: %td 19: = link_to topic.name, topic /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/permission.rb:9:in `block in initialize' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/permission.rb:38:in `call' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/permission.rb:38:in `allow?' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:7:in `allow?' actionpack (4.2.0) lib/abstract_controller/helpers.rb:67:in `allow?' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:16:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2836824873816594650_70275331992900' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2836824873816594650_70275331992900' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.3ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:35:49 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (15.1ms) Completed 200 OK in 73ms (Views: 40.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:35:50 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:35:50 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:35:50 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:35:50 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:35:50 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:36:11 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (15.2ms) Completed 200 OK in 125ms (Views: 82.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:36:11 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:36:11 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:36:11 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:36:11 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:36:11 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:36:42 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (21.5ms) Completed 200 OK in 80ms (Views: 46.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:36:42 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:36:42 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:36:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:36:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:36:42 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:37:30 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (14.4ms) Completed 200 OK in 42ms (Views: 36.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:37:31 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:37:31 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:37:31 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:37:31 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:37:31 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-11 11:37:38 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (5.9ms) Completed 200 OK in 77ms (Views: 29.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:37:38 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:37:38 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:37:38 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:37:38 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:37:38 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 11:37:47 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ygKR2IvwoMjxR8KnunNRDdOiHQtCYMuwP49bNrZxPe/+M7khdc04SJVHEPtQDmjjQQ6Sdrn2taso4OJehW49bg==", "topic"=>{"name"=>"another sticky", "posts"=>{"text"=>"hello"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"another sticky", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-11 16:37:47 UTC, "created_at"=>2015-01-11 16:37:47 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8270000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "text"=>"hello", "topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000'), "updated_at"=>2015-01-11 16:37:47 UTC, "created_at"=>2015-01-11 16:37:47 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7730ms Redirected to http://localhost:3000/forums/topics/54b2a6db4e65694fb8260000 Completed 302 Found in 21ms Started GET "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-11 11:37:47 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (6.1ms) Completed 200 OK in 39ms (Views: 33.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:37:47 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:37:47 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:37:47 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:37:47 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:37:47 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:37:50 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (15.3ms) Completed 200 OK in 46ms (Views: 41.4ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:37:50 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:37:50 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:37:50 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:37:50 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:37:50 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:38:10 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (16.1ms) Completed 200 OK in 51ms (Views: 45.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:38:10 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:38:10 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:38:10 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:38:10 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:38:10 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-11 11:38:37 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (5.9ms) Completed 200 OK in 40ms (Views: 34.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:38:37 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:38:37 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:38:37 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:38:37 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:38:37 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000/posts/54b2a3dd4e65694fb8240000/edit" for ::1 at 2015-01-11 11:38:40 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b2a3dd4e65694fb8230000", "id"=>"54b2a3dd4e65694fb8240000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3120ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml within layouts/mongoid_forums/application (4.1ms) Completed 200 OK in 38ms (Views: 31.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:38:40 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:38:40 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:38:40 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:38:40 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:38:40 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:38:42 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.6630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (16.6ms) Completed 200 OK in 61ms (Views: 51.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:38:42 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:38:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:38:42 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:38:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:38:42 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-11 11:39:13 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (1.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.9ms) Completed 200 OK in 33ms (Views: 27.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:39:13 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:39:13 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:39:13 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:39:13 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:39:13 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000/posts/new" for ::1 at 2015-01-11 11:39:14 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (3.8ms) Completed 200 OK in 37ms (Views: 29.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:39:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:39:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:39:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:39:14 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:39:14 -0500 Started POST "/forums/topics/54b2a3884e65694fb8200000/posts" for ::1 at 2015-01-11 11:39:16 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"m8JKXyTRLBEuSM1v6mlxJfVmWaH35mQB2FIMpnLcMuKv82Km2uy0kUpIHzMAFEjLZ8rW3AxwGhrPPbXOQcMyYw==", "post"=>{"text"=>"hh"}, "commit"=>"Create Reply", "topic_id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b2a7344e65694fb8290000'), "text"=>"hh", "topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "reply_to_id"=>nil, "updated_at"=>2015-01-11 16:39:16 UTC, "created_at"=>2015-01-11 16:39:16 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4150ms Redirected to http://localhost:3000/forums/topics/54b2a3884e65694fb8200000 Completed 302 Found in 7ms Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-11 11:39:16 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (6.8ms) Completed 200 OK in 35ms (Views: 28.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:39:16 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:39:16 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:39:16 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:39:16 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:39:16 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-11 11:40:52 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (6.3ms) Completed 200 OK in 37ms (Views: 30.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:40:52 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:40:52 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:40:52 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:40:52 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:40:52 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000/posts/new" for ::1 at 2015-01-11 11:40:54 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.8410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (3.0ms) Completed 200 OK in 39ms (Views: 29.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:40:54 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:40:54 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:40:54 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:40:54 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:40:54 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-11 11:40:55 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (10.2ms) Completed 200 OK in 38ms (Views: 32.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:40:55 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:40:55 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:40:55 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:40:55 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:40:55 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:40:56 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (18.3ms) Completed 200 OK in 50ms (Views: 43.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:40:56 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:40:56 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:40:56 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:40:56 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:40:56 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:41:04 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (19.0ms) Completed 200 OK in 54ms (Views: 48.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:41:04 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:41:04 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:41:04 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:41:04 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:41:04 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:41:28 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (17.3ms) Completed 200 OK in 85ms (Views: 78.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:41:28 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:41:28 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:41:28 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:41:28 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:41:28 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:41:36 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5940ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (23.7ms) Completed 200 OK in 53ms (Views: 47.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:41:36 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:41:36 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:41:36 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:41:36 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:41:36 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-11 11:41:38 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.1ms) Completed 200 OK in 39ms (Views: 31.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:41:38 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:41:38 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:41:38 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:41:38 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:41:38 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000/posts/new" for ::1 at 2015-01-11 11:41:39 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2760ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (2.4ms) Completed 200 OK in 30ms (Views: 25.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:41:39 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:41:39 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:41:39 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:41:39 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:41:39 -0500 Started POST "/forums/topics/54b2a3884e65694fb8200000/posts" for ::1 at 2015-01-11 11:41:41 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"+t4KlZ+V1n6WWL8FJQXE6CYj1Y+J9QSix+1tY2bDQPvO7yJsYahO/vJYbVnPeP0GtI9a8nJjernQgtQLVdxAeg==", "post"=>{"text"=>"sdfsdf"}, "commit"=>"Create Reply", "topic_id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.2560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b2a7c54e65694fb82c0000'), "text"=>"sdfsdf", "topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "reply_to_id"=>nil, "updated_at"=>2015-01-11 16:41:41 UTC, "created_at"=>2015-01-11 16:41:41 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.0620ms Redirected to http://localhost:3000/forums/topics/54b2a3884e65694fb8200000 Completed 302 Found in 13ms Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-11 11:41:41 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (11.4ms) Completed 200 OK in 41ms (Views: 35.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:41:42 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:41:42 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:41:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:41:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:41:42 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-11 11:41:42 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (9.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (11.0ms) Completed 200 OK in 39ms (Views: 33.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:41:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:41:42 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:41:42 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:41:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:41:42 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-11 11:42:11 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7070ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (12.8ms) Completed 200 OK in 75ms (Views: 40.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:42:11 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:42:11 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:42:11 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:42:11 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:42:11 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000/posts/new" for ::1 at 2015-01-11 11:42:12 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 11:42:12 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (18.9ms) Completed 200 OK in 51ms (Views: 47.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:42:12 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:42:12 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:42:12 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:42:12 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:42:12 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-11 11:42:15 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (9.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (10.6ms) Completed 200 OK in 37ms (Views: 31.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:42:15 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:42:15 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:42:15 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:42:15 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:42:15 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-11 11:42:16 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (9.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (10.3ms) Completed 200 OK in 37ms (Views: 30.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:42:16 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:42:16 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:42:16 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:42:16 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:42:16 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000/posts/new" for ::1 at 2015-01-11 11:42:17 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5870ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 6ms Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:42:17 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:42:17 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:42:17 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:42:17 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:42:17 -0500 Started GET "/forums/" for ::1 at 2015-01-11 11:42:19 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (8.8ms) Completed 200 OK in 35ms (Views: 32.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:42:19 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:42:19 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:42:19 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:42:19 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:42:19 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:42:20 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (21.6ms) Completed 200 OK in 51ms (Views: 46.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:42:20 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:42:20 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:42:20 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:42:20 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:42:20 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-11 11:42:22 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5870ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (11.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (12.9ms) Completed 200 OK in 42ms (Views: 34.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:42:22 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:42:22 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:42:22 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:42:22 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:42:22 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000/posts/new" for ::1 at 2015-01-11 11:42:23 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9280ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 5ms Started GET "/forums/" for ::1 at 2015-01-11 11:42:23 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (9.7ms) Completed 200 OK in 39ms (Views: 36.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:42:23 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:42:23 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:42:23 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:42:23 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:42:23 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-11 11:42:24 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (13.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (14.8ms) Completed 200 OK in 56ms (Views: 46.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:42:25 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:42:25 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:42:25 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:42:25 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:42:25 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-11 11:43:00 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (11.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (13.7ms) Completed 200 OK in 87ms (Views: 81.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:43:00 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:43:00 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:43:00 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:43:00 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:43:00 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000/posts/new?reply_to_id=54b2a7c54e65694fb82c0000" for ::1 at 2015-01-11 11:43:00 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b2a7c54e65694fb82c0000", "topic_id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-01-11 11:43:00 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (8.7ms) Completed 200 OK in 37ms (Views: 33.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:43:01 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:43:01 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:43:01 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:43:01 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:43:01 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-11 11:43:02 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (10.0ms) Completed 200 OK in 42ms (Views: 35.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:43:02 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:43:02 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:43:02 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:43:02 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:43:02 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:43:05 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (15.3ms) Completed 200 OK in 60ms (Views: 48.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:43:06 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:43:06 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:43:06 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:43:06 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:43:06 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-11 11:43:07 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (5.8ms) Completed 200 OK in 43ms (Views: 32.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:43:07 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:43:07 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:43:07 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:43:07 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:43:07 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000/posts/new" for ::1 at 2015-01-11 11:43:08 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 6ms Started GET "/forums/" for ::1 at 2015-01-11 11:43:08 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (9.4ms) Completed 200 OK in 70ms (Views: 66.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:43:08 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:43:08 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:43:08 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:43:08 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:43:08 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-11 11:43:11 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2080ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.0ms) Completed 200 OK in 38ms (Views: 32.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:43:11 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:43:11 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:43:11 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:43:11 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:43:11 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000/posts/new" for ::1 at 2015-01-11 11:43:12 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 5ms Started GET "/forums/" for ::1 at 2015-01-11 11:43:12 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6200ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (9.6ms) Completed 200 OK in 43ms (Views: 40.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:43:12 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:43:12 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:43:12 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:43:12 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:43:12 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:43:21 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (25.9ms) Completed 200 OK in 89ms (Views: 53.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:43:22 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:43:22 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:43:22 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:43:22 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:43:22 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-11 11:43:22 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.1ms) Completed 200 OK in 79ms (Views: 73.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:43:23 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:43:23 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:43:23 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:43:23 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:43:23 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000/posts/new" for ::1 at 2015-01-11 11:43:24 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 11:43:24 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (9.7ms) Completed 200 OK in 38ms (Views: 34.1ms) Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:43:24 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:43:24 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:43:24 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:43:24 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:43:24 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-11 11:43:26 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.7ms) Completed 200 OK in 38ms (Views: 32.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:43:27 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:43:27 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:43:27 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:43:27 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:43:27 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000/posts/new" for ::1 at 2015-01-11 11:43:27 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 11:43:27 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (16.7ms) Completed 200 OK in 50ms (Views: 44.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:43:27 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:43:27 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:43:27 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:43:27 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:43:27 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-11 11:43:29 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.6ms) Completed 200 OK in 39ms (Views: 34.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:43:29 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:43:29 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:43:29 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:43:29 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:43:29 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:43:30 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (17.7ms) Completed 200 OK in 86ms (Views: 80.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:43:30 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:43:30 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:43:30 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:43:30 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:43:30 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:43:30 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1140ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (28.2ms) Completed 200 OK in 71ms (Views: 62.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:43:30 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:43:30 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:43:30 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:43:30 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:43:30 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-11 11:43:31 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1730ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.7ms) Completed 200 OK in 37ms (Views: 31.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:43:32 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:43:32 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:43:32 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:43:32 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:43:32 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000/posts/new" for ::1 at 2015-01-11 11:43:33 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 11:43:33 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.9200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (12.3ms) Completed 200 OK in 39ms (Views: 36.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:43:33 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:43:33 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:43:33 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:43:33 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:43:33 -0500 Started GET "/" for ::1 at 2015-01-11 11:43:35 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms Rendered partials/_nav.haml (1.7ms) Completed 200 OK in 35ms (Views: 34.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:43:35 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:43:35 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:43:35 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:43:35 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:43:35 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:43:37 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (18.4ms) Completed 200 OK in 88ms (Views: 82.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:43:38 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:43:38 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:43:38 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:43:38 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:43:38 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:43:44 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (26.7ms) Completed 200 OK in 95ms (Views: 58.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:43:44 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:43:44 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:43:44 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:43:44 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:43:44 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-11 11:43:45 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (5.5ms) Completed 200 OK in 40ms (Views: 32.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:43:45 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:43:45 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:43:45 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:43:45 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:43:45 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000/posts/new" for ::1 at 2015-01-11 11:43:46 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6150ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (3.3ms) Completed 200 OK in 83ms (Views: 77.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:43:46 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:43:46 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:43:46 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:43:46 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:43:46 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-11 11:44:00 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.9ms) Completed 200 OK in 66ms (Views: 32.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:44:00 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:44:00 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:44:00 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:44:00 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:44:00 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000/posts/new" for ::1 at 2015-01-11 11:44:01 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6010ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-01-11 11:44:01 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (15.4ms) Completed 200 OK in 45ms (Views: 42.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:44:01 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:44:01 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:44:01 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:44:01 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:44:01 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-11 11:45:58 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (6.9ms) Completed 200 OK in 80ms (Views: 41.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:45:59 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:45:59 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:45:59 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:45:59 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:45:59 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000/posts/new" for ::1 at 2015-01-11 11:45:59 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-11 11:45:59 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (17.9ms) Completed 200 OK in 44ms (Views: 41.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:45:59 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:45:59 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:45:59 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:45:59 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:45:59 -0500 Started GET "/forums/" for ::1 at 2015-01-11 11:46:31 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (37.7ms) Completed 200 OK in 90ms (Views: 70.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:46:31 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:46:32 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:46:32 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:46:32 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:46:32 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-11 11:46:33 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (6.4ms) Completed 200 OK in 37ms (Views: 31.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:46:33 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:46:33 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:46:33 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:46:33 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:46:33 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000/posts/new" for ::1 at 2015-01-11 11:46:34 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5860ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 6ms Started GET "/forums/" for ::1 at 2015-01-11 11:46:34 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (8.3ms) Completed 200 OK in 37ms (Views: 33.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:46:34 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:46:34 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:46:34 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:46:34 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:46:34 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-11 11:47:13 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (5.7ms) Completed 200 OK in 66ms (Views: 30.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:47:13 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:47:13 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:47:13 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:47:13 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:47:13 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000/posts/new" for ::1 at 2015-01-11 11:47:14 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-01-11 11:47:14 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (18.5ms) Completed 200 OK in 47ms (Views: 44.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:47:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:47:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:47:14 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:47:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:47:14 -0500 Started GET "/forums/" for ::1 at 2015-01-11 11:49:12 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (89.0ms) Completed 200 OK in 141ms (Views: 118.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:49:13 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:49:13 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:49:13 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:49:13 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:49:13 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-11 11:49:13 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8350ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (11.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (13.4ms) Completed 200 OK in 62ms (Views: 50.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:49:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:49:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:49:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:49:14 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:49:14 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000/posts/new" for ::1 at 2015-01-11 11:49:14 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 5ms Started GET "/forums/" for ::1 at 2015-01-11 11:49:14 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (9.7ms) Completed 200 OK in 37ms (Views: 33.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:49:14 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:49:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:49:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:49:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:49:14 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-11 11:50:08 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 4.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (53.7ms) Completed 200 OK in 139ms (Views: 82.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:50:08 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:50:08 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:50:08 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:50:08 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:50:08 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000/posts/new" for ::1 at 2015-01-11 11:50:08 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 5ms Started GET "/forums/" for ::1 at 2015-01-11 11:50:08 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (18.1ms) Completed 200 OK in 51ms (Views: 47.7ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:50:09 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:50:09 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:50:09 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:50:09 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:50:09 -0500 Started GET "/forums/" for ::1 at 2015-01-11 11:50:38 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (36.8ms) Completed 200 OK in 137ms (Views: 117.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:50:38 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:50:38 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:50:38 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:50:38 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:50:38 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:50:39 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (15.8ms) Completed 200 OK in 49ms (Views: 41.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:50:39 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:50:39 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:50:39 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:50:39 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:50:39 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000/posts/new" for ::1 at 2015-01-11 11:50:42 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (3.2ms) Completed 200 OK in 42ms (Views: 33.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:50:42 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:50:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:50:42 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:50:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:50:42 -0500 Started POST "/forums/topics/54b2a6db4e65694fb8260000/posts" for ::1 at 2015-01-11 11:50:43 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Yql239j79t5nlT7+EMOu/B/DBScu0GzqErvM5iEnyx1WmF4mJsZuXgOV7KL6vpcSjW+KWtVGEvEF1HWOEjjLnA==", "post"=>{"text"=>"sdfsd"}, "commit"=>"Create Reply", "topic_id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b2a9e34e65694fb82f0000'), "text"=>"sdfsd", "topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "reply_to_id"=>nil, "updated_at"=>2015-01-11 16:50:43 UTC, "created_at"=>2015-01-11 16:50:43 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6100ms Redirected to http://localhost:3000/forums/topics/54b2a6db4e65694fb8260000 Completed 302 Found in 10ms Started GET "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-11 11:50:43 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.8ms) Completed 200 OK in 45ms (Views: 38.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:50:44 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:50:44 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:50:44 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:50:44 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:50:44 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-11 11:52:30 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (9.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (11.2ms) Completed 200 OK in 79ms (Views: 40.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:52:30 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:52:30 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:52:30 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:52:30 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:52:30 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000/posts/new" for ::1 at 2015-01-11 11:52:31 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (3.8ms) Completed 200 OK in 53ms (Views: 46.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:52:31 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:52:31 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:52:31 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:52:31 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:52:31 -0500 Started POST "/forums/topics/54b2a6db4e65694fb8260000/posts" for ::1 at 2015-01-11 11:52:33 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"1OLCCoynJBDN9O939DP8+O2dkqWkjOSQNpJ8F8KhQFPg0+rzcpq8kKn0PSseTsUWfzEd2F8amosh/cV/8b5A0g==", "post"=>{"text"=>"sdfd"}, "commit"=>"Create Reply", "topic_id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b2aa514e65694fb8310000'), "text"=>"sdfd", "topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "reply_to_id"=>nil, "updated_at"=>2015-01-11 16:52:33 UTC, "created_at"=>2015-01-11 16:52:33 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4460ms Redirected to http://localhost:3000/forums/topics/54b2a6db4e65694fb8260000 Completed 302 Found in 9ms Started GET "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-11 11:52:33 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (11.5ms) Completed 200 OK in 45ms (Views: 38.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:52:33 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:52:33 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:52:33 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:52:33 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:52:33 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-11 11:52:38 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (16.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (17.9ms) Completed 200 OK in 123ms (Views: 113.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:52:38 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:52:38 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:52:38 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:52:38 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:52:38 -0500 Started GET "/forums/" for ::1 at 2015-01-11 11:52:41 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (17.8ms) Completed 200 OK in 50ms (Views: 45.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:52:41 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:52:41 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:52:41 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:52:41 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:52:41 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:52:43 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (16.3ms) Completed 200 OK in 49ms (Views: 41.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:52:43 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:52:43 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:52:43 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:52:43 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:52:43 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-11 11:52:44 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (12.2ms) Completed 200 OK in 46ms (Views: 40.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:52:44 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:52:44 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:52:44 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:52:44 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:52:44 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000/posts/new" for ::1 at 2015-01-11 11:52:47 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (4.2ms) Completed 200 OK in 138ms (Views: 132.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:52:47 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:52:47 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:52:47 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:52:47 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:52:47 -0500 Started POST "/forums/topics/54b2a3884e65694fb8200000/posts" for ::1 at 2015-01-11 11:52:49 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"2/iJhgzmJZ/Mo9Yx6iPdwg+7ybRcC1WZvP0+qMvJXYXvyaF/8tu9H6ijBG0AXuQsnRdGyaedK4KrkofA+NZdBA==", "post"=>{"text"=>"sdfsdf"}, "commit"=>"Create Reply", "topic_id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6700ms Redirected to http://localhost:3000/forums/topics/54b2a3884e65694fb8200000 Completed 302 Found in 8ms Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-11 11:52:49 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.1ms) Completed 200 OK in 37ms (Views: 31.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:52:49 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:52:49 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:52:49 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:52:49 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:52:49 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:53:14 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (33.9ms) Completed 200 OK in 110ms (Views: 70.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:53:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:53:14 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:53:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:53:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:53:14 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-11 11:53:19 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (11.5ms) Completed 200 OK in 40ms (Views: 31.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:53:19 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:53:19 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:53:19 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:53:19 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:53:19 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000/posts/new" for ::1 at 2015-01-11 11:53:21 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2960ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (5.6ms) Completed 200 OK in 32ms (Views: 27.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:53:21 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:53:21 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:53:21 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:53:21 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:53:21 -0500 Started POST "/forums/topics/54b2a6db4e65694fb8260000/posts" for ::1 at 2015-01-11 11:53:22 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"dljGMCnO3HrfW1HcdL9w49Mpc3H/MnftB+F5VDAdi6ZCae7J1/NE+rtbg4CewkkNQYX8DASkCfYQjsA8AwKLJw==", "post"=>{"text"=>"dfssfd"}, "commit"=>"Create Reply", "topic_id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b2aa824e65694fb8350000'), "text"=>"dfssfd", "topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "reply_to_id"=>nil, "updated_at"=>2015-01-11 16:53:22 UTC, "created_at"=>2015-01-11 16:53:22 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5580ms Redirected to http://localhost:3000/forums/topics/54b2a6db4e65694fb8260000 Completed 302 Found in 8ms Started GET "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-11 11:53:22 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (15.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (16.7ms) Completed 200 OK in 43ms (Views: 38.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:53:22 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:53:22 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:53:22 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:53:22 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:53:22 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:53:26 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (16.6ms) Completed 200 OK in 43ms (Views: 35.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:53:26 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:53:26 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:53:26 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:53:26 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:53:26 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:53:42 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (13.3ms) Completed 200 OK in 41ms (Views: 33.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:53:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:53:42 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:53:42 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:53:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:53:42 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:54:55 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5950ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (3.2ms) Completed 500 Internal Server Error in 51ms ActionView::Template::Error (unexpected return): 13: Last post 14: 15: - @stickied.each do |topic| 16: - if allow? "mongoid_forums/topics", :show, topic 17: %tr 18: %td 19: ☆ /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/permission.rb:10:in `block in initialize' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/permission.rb:40:in `call' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/permission.rb:40:in `allow?' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:7:in `allow?' actionpack (4.2.0) lib/abstract_controller/helpers.rb:67:in `allow?' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:16:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2836824873816594650_70275349841480' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__2836824873816594650_70275349841480' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (26.5ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:55:01 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6310ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.8ms) Completed 200 OK in 61ms (Views: 28.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:55:01 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:55:01 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:55:01 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:55:01 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:55:01 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:55:14 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8580ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.7ms) Completed 200 OK in 58ms (Views: 27.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:55:15 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:55:15 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:55:15 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:55:15 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:55:15 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:55:15 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4740ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.8ms) Completed 200 OK in 29ms (Views: 20.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:55:15 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:55:15 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:55:15 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:55:15 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:55:15 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:55:18 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6350ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.6ms) Completed 200 OK in 157ms (Views: 25.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:55:18 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:55:18 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:55:18 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:55:18 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:55:18 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:55:18 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (2.9ms) Completed 200 OK in 30ms (Views: 25.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:55:19 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:55:19 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:55:19 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:55:19 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:55:19 -0500 Started GET "/forums/" for ::1 at 2015-01-11 11:55:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8200ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (25.7ms) Completed 200 OK in 67ms (Views: 64.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:55:20 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:55:20 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:55:20 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:55:20 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:55:20 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:55:21 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4180ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.7ms) Completed 200 OK in 26ms (Views: 20.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:55:21 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:55:21 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:55:21 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:55:21 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:55:21 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-11 11:55:23 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3600ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-01-11 11:55:23 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (7.5ms) Completed 200 OK in 29ms (Views: 25.6ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:55:23 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:55:23 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:55:23 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:55:23 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:55:23 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:55:25 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3940ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.5ms) Completed 200 OK in 23ms (Views: 17.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:55:25 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:55:25 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:55:25 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:55:25 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:55:25 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:55:33 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (22.7ms) Completed 200 OK in 78ms (Views: 47.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:55:33 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:55:33 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:55:33 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:55:33 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:55:33 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:56:11 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (126.0ms) Completed 200 OK in 181ms (Views: 147.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:56:11 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:56:11 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:56:11 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:56:11 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:56:11 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:56:12 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (10.7ms) Completed 200 OK in 36ms (Views: 30.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:56:12 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:56:12 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:56:12 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:56:12 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:56:12 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:56:15 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (22.4ms) Completed 200 OK in 80ms (Views: 45.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:56:15 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:56:15 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:56:15 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:56:15 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:56:15 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:56:26 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (19.2ms) Completed 200 OK in 73ms (Views: 39.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:56:26 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:56:26 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:56:26 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:56:26 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:56:26 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:56:26 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (10.4ms) Completed 200 OK in 38ms (Views: 33.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:56:26 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:56:26 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:56:26 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:56:26 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:56:26 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:57:04 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (14.2ms) Completed 200 OK in 246ms (Views: 34.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:57:04 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:57:05 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:57:05 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:57:05 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:57:05 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:57:09 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (21.7ms) Completed 200 OK in 83ms (Views: 46.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:57:09 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:57:09 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:57:09 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:57:09 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:57:09 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:57:13 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7760ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (1.3ms) Completed 200 OK in 62ms (Views: 23.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:57:13 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:57:13 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:57:13 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:57:13 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:57:13 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:57:19 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (26.0ms) Completed 200 OK in 195ms (Views: 165.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:57:20 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:57:20 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:57:20 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:57:20 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:57:20 -0500 Started GET "/" for ::1 at 2015-01-11 11:57:24 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms Rendered partials/_nav.haml (3.0ms) Completed 200 OK in 33ms (Views: 32.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:57:24 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:57:24 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:57:24 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:57:24 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:57:24 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:57:25 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (10.5ms) Completed 200 OK in 47ms (Views: 36.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:57:25 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:57:25 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:57:25 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:57:25 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:57:25 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:57:31 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7780ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (1.1ms) Completed 200 OK in 59ms (Views: 27.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:57:31 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:57:31 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:57:31 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:57:31 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:57:31 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:57:50 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (19.3ms) Completed 200 OK in 72ms (Views: 39.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:57:50 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:57:50 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:57:50 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:57:50 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:57:50 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:58:45 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (19.3ms) Completed 200 OK in 210ms (Views: 173.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:58:46 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:58:46 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:58:46 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:58:46 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:58:46 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:58:46 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (10.3ms) Completed 200 OK in 37ms (Views: 31.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:58:46 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:58:46 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:58:46 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:58:46 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:58:46 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:59:03 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6390ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.8ms) Completed 200 OK in 55ms (Views: 21.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:59:03 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:59:03 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:59:03 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:59:03 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:59:03 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:59:06 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (24.2ms) Completed 200 OK in 83ms (Views: 49.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:59:06 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:59:06 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:59:06 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:59:06 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:59:06 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:59:11 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (143.5ms) Completed 200 OK in 199ms (Views: 166.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:59:11 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:59:11 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:59:11 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:59:11 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:59:11 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:59:15 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6530ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (1.0ms) Completed 200 OK in 59ms (Views: 23.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:59:16 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:59:16 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:59:16 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:59:16 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:59:16 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:59:21 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7190ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (0.9ms) Completed 200 OK in 60ms (Views: 26.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:59:22 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:59:22 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:59:22 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:59:22 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:59:22 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:59:27 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (14.3ms) Completed 200 OK in 66ms (Views: 33.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:59:27 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:59:27 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:59:27 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:59:27 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:59:27 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:59:34 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (20.2ms) Completed 200 OK in 84ms (Views: 50.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:59:34 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:59:34 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:59:34 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:59:34 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:59:34 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 11:59:44 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (23.4ms) Completed 200 OK in 84ms (Views: 45.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 11:59:44 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 11:59:44 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 11:59:44 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 11:59:44 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 11:59:44 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 12:00:16 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (20.8ms) Completed 200 OK in 77ms (Views: 41.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 12:00:16 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 12:00:16 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 12:00:16 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 12:00:16 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 12:00:16 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 12:00:23 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (27.6ms) Completed 200 OK in 220ms (Views: 48.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 12:00:24 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 12:00:24 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 12:00:24 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 12:00:24 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 12:00:24 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 12:00:32 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5980ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (23.0ms) Completed 200 OK in 81ms (Views: 45.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 12:00:32 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 12:00:32 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 12:00:32 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 12:00:32 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 12:00:32 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-11 12:00:34 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (7.6ms) Completed 200 OK in 35ms (Views: 29.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 12:00:34 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 12:00:34 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 12:00:34 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 12:00:34 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 12:00:34 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-11 12:00:39 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"RYH/CaJAG1wItvW+FjqAQsKSGG9zaBVfYLzEMz9rJjlxsNfwXH2D3Gy2J+L8R7msUD6XEoj+a0R3031bDHQmuA==", "topic"=>{"name"=>"my hidden topic", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b2ac374e65694fb8370000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"my hidden topic", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-11 17:00:39 UTC, "created_at"=>2015-01-11 17:00:39 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b2ac374e65694fb8380000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "text"=>"sdfsdf", "topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000'), "updated_at"=>2015-01-11 17:00:39 UTC, "created_at"=>2015-01-11 17:00:39 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4560ms Redirected to http://localhost:3000/forums/topics/54b2ac374e65694fb8370000 Completed 302 Found in 15ms Started GET "/forums/topics/54b2ac374e65694fb8370000" for ::1 at 2015-01-11 12:00:39 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2ac374e65694fb8370000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.1ms) Completed 200 OK in 39ms (Views: 33.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 12:00:39 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 12:00:39 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 12:00:39 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 12:00:39 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 12:00:39 -0500 Started GET "/forums/topics/54b2ac374e65694fb8370000" for ::1 at 2015-01-11 12:00:53 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2ac374e65694fb8370000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.2ms) Completed 200 OK in 33ms (Views: 28.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 12:00:53 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 12:00:53 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 12:00:53 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 12:00:53 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 12:00:53 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 12:00:54 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (15.1ms) Completed 200 OK in 39ms (Views: 32.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 12:00:54 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 12:00:54 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 12:00:54 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 12:00:54 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 12:00:54 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 12:02:45 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (32.8ms) Completed 200 OK in 191ms (Views: 58.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 12:02:46 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 12:02:46 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 12:02:46 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 12:02:46 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 12:02:46 -0500 Started GET "/forums/topics/54b2ac374e65694fb8370000" for ::1 at 2015-01-11 12:02:50 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2ac374e65694fb8370000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (5.5ms) Completed 200 OK in 37ms (Views: 27.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 12:02:50 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 12:02:50 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 12:02:50 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 12:02:50 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 12:02:50 -0500 Started GET "/forums/topics/54b2ac374e65694fb8370000/posts/new" for ::1 at 2015-01-11 12:02:51 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2ac374e65694fb8370000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (3.1ms) Completed 200 OK in 33ms (Views: 26.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 12:02:51 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 12:02:51 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 12:02:51 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 12:02:51 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 12:02:51 -0500 Started POST "/forums/topics/54b2ac374e65694fb8370000/posts" for ::1 at 2015-01-11 12:02:52 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"r7hi72zxm7g+2LGAo8RMqrYZJwsaNBGprbxmvmv3EKObiUoWkswDOFrYY9xJuXVEJLWoduGib7K609/WWOgQIg==", "post"=>{"text"=>"sdfsdf"}, "commit"=>"Create Reply", "topic_id"=>"54b2ac374e65694fb8370000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9830ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b2acbc4e65694fb83a0000'), "text"=>"sdfsdf", "topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "reply_to_id"=>nil, "updated_at"=>2015-01-11 17:02:52 UTC, "created_at"=>2015-01-11 17:02:52 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6640ms Redirected to http://localhost:3000/forums/topics/54b2ac374e65694fb8370000 Completed 302 Found in 10ms Started GET "/forums/topics/54b2ac374e65694fb8370000" for ::1 at 2015-01-11 12:02:52 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2ac374e65694fb8370000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (9.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (11.2ms) Completed 200 OK in 37ms (Views: 32.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 12:02:53 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 12:02:53 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 12:02:53 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 12:02:53 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 12:02:53 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-11 12:02:57 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (17.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (19.6ms) Completed 200 OK in 53ms (Views: 43.2ms) Started GET "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-11 12:02:58 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (13.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (14.9ms) Completed 200 OK in 41ms (Views: 36.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 12:02:58 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 12:02:58 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 12:02:58 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 12:02:58 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 12:02:58 -0500 Started GET "/forums" for ::1 at 2015-01-11 12:03:31 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (36.9ms) Completed 200 OK in 88ms (Views: 69.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 12:03:31 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 12:03:31 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 12:03:31 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 12:03:31 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 12:03:31 -0500 Started GET "/forums" for ::1 at 2015-01-11 12:04:10 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 156.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (168.5ms) Completed 200 OK in 200ms (Views: 195.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 12:04:10 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 12:04:10 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 12:04:10 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 12:04:10 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 12:04:10 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 12:04:21 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (23.9ms) Completed 200 OK in 53ms (Views: 47.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 12:04:21 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 12:04:21 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 12:04:21 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 12:04:21 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 12:04:21 -0500 Started GET "/" for ::1 at 2015-01-11 12:04:27 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9690ms Rendered partials/_nav.haml (2.2ms) Completed 200 OK in 33ms (Views: 32.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 12:04:27 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 12:04:27 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 12:04:27 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 12:04:27 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 12:04:27 -0500 Started GET "/users/sign_out" for ::1 at 2015-01-11 12:04:28 -0500 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7230ms Redirected to http://localhost:3000/ Completed 302 Found in 4ms Started GET "/" for ::1 at 2015-01-11 12:04:28 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) Rendered partials/_nav.haml (0.6ms) Completed 200 OK in 29ms (Views: 28.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 12:04:28 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 12:04:28 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 12:04:28 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 12:04:28 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 12:04:28 -0500 Started GET "/users/sign_in" for ::1 at 2015-01-11 12:04:29 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (3.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (13.6ms) Rendered partials/_nav.haml (0.4ms) Completed 200 OK in 48ms (Views: 47.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 12:04:29 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 12:04:29 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 12:04:29 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 12:04:29 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 12:04:29 -0500 Started POST "/users/sign_in" for ::1 at 2015-01-11 12:04:32 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"jSr+baGtReip9MJ5F8JYFHRyWgVpRrxjpxcq1sZzFFETJ2g/7ljgB6HOsnYLM/cUa7SyLlTtgr9HFVohHdjFIA==", "user"=>{"email"=>"user@njay.net", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"user@njay.net"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7490ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"current_sign_in_at"=>2015-01-11 17:04:32 UTC, "sign_in_count"=>2}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8950ms Redirected to http://localhost:3000/ Completed 302 Found in 97ms Started GET "/" for ::1 at 2015-01-11 12:04:32 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5790ms Rendered partials/_nav.haml (1.9ms) Completed 200 OK in 22ms (Views: 22.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 12:04:32 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 12:04:32 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 12:04:32 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 12:04:32 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 12:04:32 -0500 Started GET "/forums/" for ::1 at 2015-01-11 12:04:36 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (11.9ms) Completed 200 OK in 42ms (Views: 36.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 12:04:37 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 12:04:37 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 12:04:37 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 12:04:37 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 12:04:37 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 12:04:40 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.9860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (17.1ms) Completed 200 OK in 50ms (Views: 41.0ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 12:04:40 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 12:04:40 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 12:04:40 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 12:04:40 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 12:04:40 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-11 12:04:43 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.1ms) Completed 200 OK in 41ms (Views: 31.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 12:04:43 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 12:04:43 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 12:04:43 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 12:04:43 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 12:04:43 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000/posts/new" for ::1 at 2015-01-11 12:04:46 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (3.0ms) Completed 200 OK in 36ms (Views: 26.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 12:04:46 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 12:04:46 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 12:04:46 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 12:04:46 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 12:04:46 -0500 Started POST "/forums/topics/54b2a3884e65694fb8200000/posts" for ::1 at 2015-01-11 12:04:47 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"9LQ0u/is5HZOUd+5vU20Q7+LvT1U0eJR3sASv1+VyPouk9zUcwSmjtgbKZPB+AKpUFlDcpaBKO15ajF2QwRAjQ==", "post"=>{"text"=>"sdfsdf"}, "commit"=>"Create Reply", "topic_id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Redirected to http://localhost:3000/forums/topics/54b2a3884e65694fb8200000 Completed 302 Found in 7ms Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-11 12:04:47 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.2ms) Completed 200 OK in 43ms (Views: 35.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 12:04:48 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 12:04:48 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 12:04:48 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 12:04:48 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 12:04:48 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-11 12:04:50 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.8ms) Completed 200 OK in 34ms (Views: 29.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 12:04:50 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 12:04:50 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 12:04:50 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 12:04:50 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 12:04:50 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-11 12:04:52 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (15.8ms) Completed 200 OK in 48ms (Views: 38.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-11 12:04:52 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-11 12:04:53 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-11 12:04:53 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-11 12:04:53 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-11 12:04:53 -0500 Started GET "/forums/" for ::1 at 2015-01-12 00:04:23 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 5.8730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.1330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 5.0570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.7270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.8970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.0320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2420ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (94.0ms) Completed 200 OK in 291ms (Views: 242.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:04:23 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:04:23 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:04:23 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:04:23 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:04:23 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-12 00:04:25 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (21.0ms) Completed 200 OK in 52ms (Views: 46.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:04:25 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:04:25 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:04:25 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:04:25 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:04:25 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-12 00:04:35 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0170ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (17.1ms) Completed 200 OK in 63ms (Views: 56.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:04:35 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:04:35 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:04:35 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:04:35 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:04:35 -0500 Started GET "/forums/" for ::1 at 2015-01-12 00:06:35 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5790ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (12.0ms) Completed 200 OK in 36ms (Views: 32.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:06:35 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:06:35 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:06:35 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:06:35 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:06:35 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-12 00:06:37 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (16.0ms) Completed 200 OK in 42ms (Views: 37.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:06:37 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:06:37 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:06:37 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:06:37 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:06:37 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-12 00:06:38 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (10.0ms) Completed 200 OK in 39ms (Views: 32.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:06:38 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:06:38 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:06:38 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:06:38 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:06:38 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-12 00:06:54 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (12.6ms) Completed 500 Internal Server Error in 20ms ActionView::Template::Error (No route matches {:action=>"edit", :controller=>"mongoid_forums/posts", :format=>nil, :id=>nil, :topic_id=>#} missing required keys: [:id]): 1: %h1 Viewing Topic "#{@topic.name}" 2: = link_to "Reply to topic", new_topic_post_path(@topic) 3: = link_to "Edit topic", edit_topic_post_path(@topic) 4: %br 5: %br 6: = render @posts actionpack (4.2.0) lib/action_dispatch/journey/formatter.rb:46:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:710:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:741:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:784:in `url_for' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:279:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:222:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:334:in `block (2 levels) in define_url_helper' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml___2193292230776448974_70220358914420' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (29.0ms) Started GET "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-12 00:07:05 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.1ms) Completed 200 OK in 35ms (Views: 29.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:07:06 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:07:06 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:07:06 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:07:06 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:07:06 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000/edit" for ::1 at 2015-01-12 00:07:07 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3790ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 6ms Started GET "/forums/" for ::1 at 2015-01-12 00:07:07 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (7.1ms) Completed 200 OK in 35ms (Views: 31.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:07:07 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:07:07 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:07:07 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:07:07 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:07:07 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-12 00:07:28 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5420ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (18.7ms) Completed 500 Internal Server Error in 27ms ActionView::Template::Error (undefined method `allow' for #<#:0x007fbae7595980>): 1: %h1 Viewing Topic "#{@topic.name}" 2: = link_to "Reply to topic", new_topic_post_path(@topic) 3: - if allow "mongoid_forums/topics", :edit 4: = link_to "Edit topic", edit_topic_path(@topic) 5: %br 6: %br /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml___2193292230776448974_70220361002860' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.8ms) Started GET "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-12 00:07:32 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.2ms) Completed 200 OK in 32ms (Views: 26.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:07:32 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:07:32 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:07:32 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:07:32 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:07:32 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-12 00:08:27 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.7ms) Completed 200 OK in 108ms (Views: 73.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:08:28 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:08:28 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:08:28 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:08:28 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:08:28 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-12 00:08:28 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.8ms) Completed 200 OK in 41ms (Views: 35.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:08:28 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:08:28 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:08:28 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:08:28 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:08:28 -0500 Started GET "/" for ::1 at 2015-01-12 00:08:33 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7570ms Rendered partials/_nav.haml (3.6ms) Completed 200 OK in 36ms (Views: 35.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:08:33 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:08:33 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:08:33 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:08:33 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:08:33 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-12 00:08:37 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (10.5ms) Completed 200 OK in 36ms (Views: 31.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:08:37 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:08:37 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:08:37 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:08:37 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:08:37 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-12 00:08:38 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6160ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.1ms) Completed 200 OK in 30ms (Views: 26.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:08:38 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:08:38 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:08:38 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:08:38 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:08:38 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-12 00:08:45 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.0ms) Completed 200 OK in 61ms (Views: 32.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:08:45 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:08:45 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:08:45 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:08:45 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:08:45 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-12 00:08:46 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6100ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (10.0ms) Completed 200 OK in 37ms (Views: 31.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:08:46 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:08:46 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:08:46 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:08:46 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:08:46 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-12 00:08:48 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.3ms) Completed 200 OK in 74ms (Views: 36.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:08:48 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:08:48 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:08:48 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:08:48 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:08:48 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-12 00:08:49 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.7ms) Completed 200 OK in 37ms (Views: 31.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:08:49 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:08:49 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:08:49 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:08:49 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:08:49 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-12 00:08:52 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.6ms) Completed 200 OK in 59ms (Views: 27.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:08:52 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:08:52 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:08:52 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:08:52 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:08:52 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-12 00:08:53 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.0ms) Completed 200 OK in 29ms (Views: 24.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:08:54 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:08:54 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:08:54 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:08:54 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:08:54 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-12 00:08:57 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (57.6ms) Completed 200 OK in 90ms (Views: 80.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:08:57 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:08:57 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:08:57 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:08:57 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:08:57 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-12 00:09:00 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZgVfwtmZcEhXDbOdTx5tqb5R8LaibelDnl5yagvXwge8IretUjEysMFHRbczq9tDUYMO+WA9I/859FGjF0ZKcA==", "topic"=>{"name"=>"sfsdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.1620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sfsdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-12 05:09:00 UTC, "created_at"=>2015-01-12 05:09:00 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 7.8030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6510ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b356ec4e65695bfc020000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdfsdf", "topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000'), "updated_at"=>2015-01-12 05:09:00 UTC, "created_at"=>2015-01-12 05:09:00 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4820ms Redirected to http://localhost:3000/forums/topics/54b356ec4e65695bfc010000 Completed 302 Found in 27ms Started GET "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:09:00 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.9ms) Completed 200 OK in 45ms (Views: 40.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:09:00 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:09:00 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:09:00 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:09:00 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:09:00 -0500 Started GET "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:09:01 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (4.5ms) Completed 200 OK in 34ms (Views: 30.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:09:01 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:09:01 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:09:01 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:09:01 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:09:01 -0500 Started GET "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:09:01 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (5.9ms) Completed 200 OK in 31ms (Views: 26.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:09:02 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:09:02 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:09:02 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:09:02 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:09:02 -0500 Started GET "/forums/topics/54b356ec4e65695bfc010000/posts/54b356ec4e65695bfc020000/edit" for ::1 at 2015-01-12 00:09:03 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b356ec4e65695bfc010000", "id"=>"54b356ec4e65695bfc020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml within layouts/mongoid_forums/application (5.7ms) Completed 200 OK in 40ms (Views: 34.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:09:03 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:09:03 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:09:03 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:09:03 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:09:03 -0500 Started GET "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:09:48 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (6.7ms) Completed 200 OK in 35ms (Views: 29.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:09:48 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:09:48 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:09:48 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:09:48 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:09:48 -0500 Started GET "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:09:59 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (6.6ms) Completed 200 OK in 40ms (Views: 35.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:09:59 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:09:59 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:09:59 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:09:59 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:09:59 -0500 Started GET "/forums/topics/54b356ec4e65695bfc010000/edit" for ::1 at 2015-01-12 00:10:00 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3970ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.haml within layouts/mongoid_forums/application (0.9ms) Completed 200 OK in 29ms (Views: 22.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:10:00 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:10:00 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:10:00 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:10:00 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:10:00 -0500 Started GET "/forums/topics/54b356ec4e65695bfc010000/edit" for ::1 at 2015-01-12 00:10:13 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4510ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 21ms Started GET "/forums/" for ::1 at 2015-01-12 00:10:13 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 17.0980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (21.9ms) Completed 200 OK in 67ms (Views: 47.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:10:13 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:10:13 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:10:13 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:10:13 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:10:13 -0500 Started GET "/forums/" for ::1 at 2015-01-12 00:10:15 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (35.2ms) Completed 200 OK in 72ms (Views: 58.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:10:15 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:10:15 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:10:15 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:10:15 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:10:15 -0500 Started GET "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:11:02 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.3ms) Completed 200 OK in 63ms (Views: 33.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:11:02 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:11:02 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:11:02 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:11:02 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:11:02 -0500 Started GET "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:11:03 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (5.7ms) Completed 200 OK in 38ms (Views: 31.6ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:11:03 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:11:03 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:11:03 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:11:03 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:11:03 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-12 00:11:05 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6090ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (52.1ms) Completed 200 OK in 90ms (Views: 77.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:11:06 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:11:06 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:11:06 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:11:06 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:11:06 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-12 00:11:06 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.3ms) Completed 200 OK in 35ms (Views: 29.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:11:07 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:11:07 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:11:07 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:11:07 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:11:07 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-12 00:11:09 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1300ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.0ms) Completed 200 OK in 42ms (Views: 32.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:11:09 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:11:09 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:11:09 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:11:09 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:11:09 -0500 Started GET "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:11:12 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (5.3ms) Completed 200 OK in 37ms (Views: 28.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:11:12 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:11:12 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:11:12 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:11:12 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:11:12 -0500 Started GET "/forums/topics/54b356ec4e65695bfc010000/edit" for ::1 at 2015-01-12 00:11:13 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.haml within layouts/mongoid_forums/application (0.1ms) Completed 200 OK in 28ms (Views: 24.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:11:14 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:11:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:11:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:11:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:11:14 -0500 Started GET "/forums/topics/54b356ec4e65695bfc010000/edit" for ::1 at 2015-01-12 00:12:16 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.haml within layouts/mongoid_forums/application (2.8ms) Completed 500 Internal Server Error in 10ms ActionView::Template::Error (No route matches {:action=>"create", :controller=>"mongoid_forums/forums", :id=>"54b356ec4e65695bfc010000"} missing required keys: [:forum_id]): 1: %h3 2: Edit topic 3: 4: = simple_form_for @topic, :url => forum_create_path do |f| 5: = f.label :name 6: = f.text_field :name 7: %br actionpack (4.2.0) lib/action_dispatch/journey/formatter.rb:46:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:710:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:741:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:784:in `url_for' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:279:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:222:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:334:in `block (2 levels) in define_url_helper' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.haml:4:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_edit_haml__3978561225948503968_70220375137400' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (27.4ms) Started GET "/forums/topics/54b356ec4e65695bfc010000/edit" for ::1 at 2015-01-12 00:12:33 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2860ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.haml within layouts/mongoid_forums/application (2.8ms) Completed 500 Internal Server Error in 9ms ActionView::Template::Error (undefined method `model_name' for nil:NilClass): 1: %h3 2: Edit topic 3: 4: = simple_form_for @topic do |f| 5: = f.label :name 6: = f.text_field :name 7: %br actionpack (4.2.0) lib/action_controller/model_naming.rb:9:in `model_name_from_record_or_class' actionview (4.2.0) lib/action_view/record_identifier.rb:47:in `dom_class' simple_form (3.0.3) lib/simple_form/action_view_extensions/form_helper.rb:58:in `simple_form_css_class' simple_form (3.0.3) lib/simple_form/action_view_extensions/form_helper.rb:19:in `simple_form_for' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.haml:4:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_edit_haml__3978561225948503968_70220375755120' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.2ms) Started GET "/forums/topics/54b356ec4e65695bfc010000/edit" for ::1 at 2015-01-12 00:12:57 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3530ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.haml within layouts/mongoid_forums/application (2.5ms) Completed 500 Internal Server Error in 9ms ActionView::Template::Error (First argument in form cannot contain nil or be empty): 1: %h3 2: Edit topic 3: 4: = form_for @topic do |f| 5: = f.label :name 6: = f.text_field :name 7: %br actionview (4.2.0) lib/action_view/helpers/form_helper.rb:432:in `form_for' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.haml:4:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_edit_haml__3978561225948503968_70220359662680' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.8ms) Started GET "/forums/topics/54b356ec4e65695bfc010000/edit" for ::1 at 2015-01-12 00:13:22 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.haml within layouts/mongoid_forums/application (5.9ms) Completed 200 OK in 53ms (Views: 27.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:13:22 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:13:22 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:13:22 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:13:22 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:13:22 -0500 Started PATCH "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:13:24 -0500 Processing by MongoidForums::TopicsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"EgU2diyl8sHaQf6jprb9kGtImOOm8i0VAQR6h45RRi3IIt4Zpw2wOUwLCInaA0t6hJpmrGSi56mmrllOksDOWg==", "topic"=>{"name"=>"sfsdfsdf", "posts"=>{"text"=>""}}, "commit"=>"Update Topic", "id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4250ms Completed 500 Internal Server Error in 8ms ActionView::MissingTemplate (Missing template mongoid_forums/topics/update, mongoid_forums/application/update with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Business/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Business/mongoid_forums/app/views" * "/Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views" ): actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (27.7ms) Started PATCH "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:15:48 -0500 Processing by MongoidForums::TopicsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"EgU2diyl8sHaQf6jprb9kGtImOOm8i0VAQR6h45RRi3IIt4Zpw2wOUwLCInaA0t6hJpmrGSi56mmrllOksDOWg==", "topic"=>{"name"=>"sfsdfsdf", "posts"=>{"text"=>""}}, "commit"=>"Update Topic", "id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8590ms Completed 500 Internal Server Error in 34ms NoMethodError (undefined method `with_indifferent_access' for "":String): mongoid (4.0.0) lib/mongoid/relations/builders/nested_attributes/many.rb:30:in `block in build' mongoid (4.0.0) lib/mongoid/relations/builders/nested_attributes/many.rb:26:in `each' mongoid (4.0.0) lib/mongoid/relations/builders/nested_attributes/many.rb:26:in `build' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:139:in `block in process_relations' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:136:in `each_pair' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:136:in `process_relations' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:122:in `process_pending' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:29:in `process_attributes' mongoid (4.0.0) lib/mongoid/attributes.rb:203:in `block in assign_attributes' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:26:in `_assigning' mongoid (4.0.0) lib/mongoid/attributes.rb:202:in `assign_attributes' mongoid (4.0.0) lib/mongoid/persistable/updatable.rb:51:in `update' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:12:in `update' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (23.6ms) Started GET "/forums/topics/54b356ec4e65695bfc010000/edit" for ::1 at 2015-01-12 00:15:50 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3620ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.haml within layouts/mongoid_forums/application (6.3ms) Completed 200 OK in 44ms (Views: 39.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:15:50 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:15:50 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:15:50 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:15:50 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:15:50 -0500 Started PATCH "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:15:52 -0500 Processing by MongoidForums::TopicsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nk/T60ZI7bKWQdKkvPNYr2nscOkhuDK426dMe+g2unlEaDuEzeCvSgALJI7ARu5Fhj6OpuPo+AR8DW+y9KcyDg==", "topic"=>{"name"=>"sfsdfdsfsd", "posts"=>{"text"=>"sdfsd"}}, "commit"=>"Update Topic", "id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5240ms Completed 500 Internal Server Error in 7ms NoMethodError (undefined method `with_indifferent_access' for "sdfsd":String): mongoid (4.0.0) lib/mongoid/relations/builders/nested_attributes/many.rb:30:in `block in build' mongoid (4.0.0) lib/mongoid/relations/builders/nested_attributes/many.rb:26:in `each' mongoid (4.0.0) lib/mongoid/relations/builders/nested_attributes/many.rb:26:in `build' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:139:in `block in process_relations' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:136:in `each_pair' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:136:in `process_relations' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:122:in `process_pending' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:29:in `process_attributes' mongoid (4.0.0) lib/mongoid/attributes.rb:203:in `block in assign_attributes' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:26:in `_assigning' mongoid (4.0.0) lib/mongoid/attributes.rb:202:in `assign_attributes' mongoid (4.0.0) lib/mongoid/persistable/updatable.rb:51:in `update' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:12:in `update' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (18.6ms) Started GET "/forums/topics/54b356ec4e65695bfc010000/edit" for ::1 at 2015-01-12 00:17:06 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4950ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.haml within layouts/mongoid_forums/application (7.1ms) Completed 200 OK in 68ms (Views: 34.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:17:06 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:17:07 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:17:07 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:17:07 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:17:07 -0500 Started PATCH "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:17:08 -0500 Processing by MongoidForums::TopicsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"lPDl6SjMpvFdLBSyLv1pcMmQGsD0Gab7QiL/Su4hUzRO1w2Go2TkCctm4phSSN+aJkLkjzZJbEfliNyD8rDbQw==", "topic"=>{"name"=>"sfsdf", "posts"=>{"text"=>"sdfs"}}, "commit"=>"Update Topic", "id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3420ms Completed 500 Internal Server Error in 5ms ActiveModel::ForbiddenAttributesError (ActiveModel::ForbiddenAttributesError): activemodel (4.2.0) lib/active_model/forbidden_attributes_protection.rb:21:in `sanitize_for_mass_assignment' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:22:in `process_attributes' mongoid (4.0.0) lib/mongoid/attributes.rb:203:in `block in assign_attributes' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:26:in `_assigning' mongoid (4.0.0) lib/mongoid/attributes.rb:202:in `assign_attributes' mongoid (4.0.0) lib/mongoid/persistable/updatable.rb:51:in `update' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:13:in `update' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (14.6ms) Started PATCH "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:17:24 -0500 Processing by MongoidForums::TopicsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"lPDl6SjMpvFdLBSyLv1pcMmQGsD0Gab7QiL/Su4hUzRO1w2Go2TkCctm4phSSN+aJkLkjzZJbEfliNyD8rDbQw==", "topic"=>{"name"=>"sfsdf", "posts"=>{"text"=>"sdfs"}}, "commit"=>"Update Topic", "id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4980ms Completed 500 Internal Server Error in 29ms NoMethodError (undefined method `topic' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:15:in `update' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (19.4ms) Started PATCH "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:17:36 -0500 Processing by MongoidForums::TopicsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"lPDl6SjMpvFdLBSyLv1pcMmQGsD0Gab7QiL/Su4hUzRO1w2Go2TkCctm4phSSN+aJkLkjzZJbEfliNyD8rDbQw==", "topic"=>{"name"=>"sfsdf", "posts"=>{"text"=>"sdfs"}}, "commit"=>"Update Topic", "id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4200ms Redirected to http://localhost:3000/forums/topics/54b356ec4e65695bfc010000 Completed 302 Found in 29ms Started GET "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:17:36 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.0ms) Completed 200 OK in 40ms (Views: 35.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:17:36 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:17:36 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:17:36 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:17:36 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:17:36 -0500 Started GET "/forums/topics/54b356ec4e65695bfc010000/edit" for ::1 at 2015-01-12 00:17:38 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3030ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.haml within layouts/mongoid_forums/application (3.4ms) Completed 200 OK in 50ms (Views: 47.4ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:17:39 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:17:39 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:17:39 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:17:39 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:17:39 -0500 Started PATCH "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:17:42 -0500 Processing by MongoidForums::TopicsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"AQ/cK8yegTF+M3an+R0GMS1Vc6LGe9ewKPzo6iO1JULbKDRERzbDyeh5gI2FqLDbwoeN7QQrHQyPVssjPyStNQ==", "topic"=>{"name"=>"name", "posts"=>{"text"=>"dsfsdf"}}, "commit"=>"Update Topic", "id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5430ms Redirected to http://localhost:3000/forums/topics/54b356ec4e65695bfc010000 Completed 302 Found in 8ms Started GET "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:17:42 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (4.7ms) Completed 200 OK in 33ms (Views: 27.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:17:42 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:17:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:17:42 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:17:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:17:42 -0500 Started GET "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:17:43 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (5.3ms) Completed 200 OK in 31ms (Views: 25.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:17:43 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:17:43 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:17:43 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:17:43 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:17:43 -0500 Started GET "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:17:44 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (5.6ms) Completed 200 OK in 31ms (Views: 26.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:17:44 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:17:44 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:17:44 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:17:44 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:17:44 -0500 Started GET "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:17:45 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (5.7ms) Completed 200 OK in 34ms (Views: 27.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:17:45 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:17:45 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:17:45 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:17:45 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:17:45 -0500 Started GET "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:17:45 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (6.6ms) Completed 200 OK in 38ms (Views: 31.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:17:45 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:17:45 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:17:45 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:17:45 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:17:45 -0500 Started GET "/forums/topics/54b356ec4e65695bfc010000/edit" for ::1 at 2015-01-12 00:17:46 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5590ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.haml within layouts/mongoid_forums/application (4.5ms) Completed 200 OK in 40ms (Views: 35.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:17:46 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:17:46 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:17:46 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:17:46 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:17:46 -0500 Started PATCH "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:17:48 -0500 Processing by MongoidForums::TopicsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"WqrIAozci0EbgHTSHgj1tgVRivY0RgQd9Z/LxxH41bqAjSBtB3TJuY3KgvhivUNc6oN0ufYWzqFSNegODWldzQ==", "topic"=>{"name"=>"dsfds", "posts"=>{"text"=>""}}, "commit"=>"Update Topic", "id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5290ms Redirected to http://localhost:3000/forums/topics/54b356ec4e65695bfc010000 Completed 302 Found in 6ms Started GET "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:17:48 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (5.8ms) Completed 200 OK in 31ms (Views: 26.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:17:49 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:17:49 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:17:49 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:17:49 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:17:49 -0500 Started GET "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:18:14 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8570ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (11.2ms) Completed 200 OK in 66ms (Views: 34.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:18:15 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:18:15 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:18:15 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:18:15 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:18:15 -0500 Started GET "/forums/topics/54b356ec4e65695bfc010000/edit" for ::1 at 2015-01-12 00:18:16 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.haml within layouts/mongoid_forums/application (6.4ms) Completed 200 OK in 33ms (Views: 29.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:18:16 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:18:16 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:18:16 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:18:16 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:18:16 -0500 Started PATCH "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:18:20 -0500 Processing by MongoidForums::TopicsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"57ZYB1hG9KjpkYwC90uMRzfqjWEc4bR849xJGZAB4QQ9kbBo0+62UH/beiiL/jqt2DhzLt6xfsBEdmrQjJBpcw==", "topic"=>{"name"=>"sdfsf", "posts"=>{"text"=>"sdfsd"}}, "commit"=>"Update Topic", "id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms Redirected to http://localhost:3000/forums/topics/54b356ec4e65695bfc010000 Completed 302 Found in 5ms Started GET "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:18:20 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.5ms) Completed 200 OK in 38ms (Views: 32.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:18:20 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:18:20 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:18:20 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:18:20 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:18:20 -0500 Started GET "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:18:56 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (10.0ms) Completed 200 OK in 106ms (Views: 68.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:18:56 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:18:56 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:18:56 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:18:56 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:18:56 -0500 Started GET "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:21:19 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (6.1ms) Completed 200 OK in 71ms (Views: 35.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:21:20 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:21:20 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:21:20 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:21:20 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:21:20 -0500 Started GET "/forums/topics/54b356ec4e65695bfc010000/edit" for ::1 at 2015-01-12 00:21:21 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.haml within layouts/mongoid_forums/application (4.6ms) Completed 200 OK in 36ms (Views: 29.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:21:21 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:21:21 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:21:21 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:21:21 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:21:21 -0500 Started PATCH "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:21:24 -0500 Processing by MongoidForums::TopicsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KVyF/RXfAmiHp5KpUxATuByTcq+AzsXlyaT3mv3kuCPze22SnndAkBHtZIMvpaVS80GM4EKeD1luDtRT4XUwVA==", "topic"=>{"name"=>"sdfsdfsdfsdfsdfsdf", "posts"=>{"text"=>"sdfsd"}}, "commit"=>"Update Topic", "id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4540ms Completed 500 Internal Server Error in 7ms ActiveModel::ForbiddenAttributesError (ActiveModel::ForbiddenAttributesError): activemodel (4.2.0) lib/active_model/forbidden_attributes_protection.rb:21:in `sanitize_for_mass_assignment' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:22:in `process_attributes' mongoid (4.0.0) lib/mongoid/attributes.rb:203:in `block in assign_attributes' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:26:in `_assigning' mongoid (4.0.0) lib/mongoid/attributes.rb:202:in `assign_attributes' mongoid (4.0.0) lib/mongoid/persistable/updatable.rb:51:in `update' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:14:in `update' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (19.5ms) Started PATCH "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:22:20 -0500 Processing by MongoidForums::TopicsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KVyF/RXfAmiHp5KpUxATuByTcq+AzsXlyaT3mv3kuCPze22SnndAkBHtZIMvpaVS80GM4EKeD1luDtRT4XUwVA==", "topic"=>{"name"=>"sdfsdfsdfsdfsdfsdf", "posts"=>{"text"=>"sdfsd"}}, "commit"=>"Update Topic", "id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4580ms Completed 500 Internal Server Error in 32ms NoMethodError (undefined method `with_indifferent_access' for "sdfsd":String): mongoid (4.0.0) lib/mongoid/relations/builders/nested_attributes/many.rb:30:in `block in build' mongoid (4.0.0) lib/mongoid/relations/builders/nested_attributes/many.rb:26:in `each' mongoid (4.0.0) lib/mongoid/relations/builders/nested_attributes/many.rb:26:in `build' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:139:in `block in process_relations' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:136:in `each_pair' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:136:in `process_relations' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:122:in `process_pending' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:29:in `process_attributes' mongoid (4.0.0) lib/mongoid/attributes.rb:203:in `block in assign_attributes' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:26:in `_assigning' mongoid (4.0.0) lib/mongoid/attributes.rb:202:in `assign_attributes' mongoid (4.0.0) lib/mongoid/persistable/updatable.rb:51:in `update' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:14:in `update' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (17.7ms) Started GET "/forums/topics/54b356ec4e65695bfc010000/edit" for ::1 at 2015-01-12 00:22:23 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3240ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.haml within layouts/mongoid_forums/application (5.5ms) Completed 200 OK in 46ms (Views: 41.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:22:23 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:22:23 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:22:23 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:22:23 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:22:23 -0500 Started PATCH "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:22:26 -0500 Processing by MongoidForums::TopicsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"lgTI5780v828wZd7apKHiFTMKafE6tP6jkimCiemdWRMIyCINJz9NSqLYVEWJzFiux7X6Aa6GUYp4oXDOzf9Ew==", "topic"=>{"name"=>"ggf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Update Topic", "id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms Completed 500 Internal Server Error in 10ms NoMethodError (undefined method `with_indifferent_access' for "sdf":String): mongoid (4.0.0) lib/mongoid/relations/builders/nested_attributes/many.rb:30:in `block in build' mongoid (4.0.0) lib/mongoid/relations/builders/nested_attributes/many.rb:26:in `each' mongoid (4.0.0) lib/mongoid/relations/builders/nested_attributes/many.rb:26:in `build' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:139:in `block in process_relations' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:136:in `each_pair' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:136:in `process_relations' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:122:in `process_pending' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:29:in `process_attributes' mongoid (4.0.0) lib/mongoid/attributes.rb:203:in `block in assign_attributes' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:26:in `_assigning' mongoid (4.0.0) lib/mongoid/attributes.rb:202:in `assign_attributes' mongoid (4.0.0) lib/mongoid/persistable/updatable.rb:51:in `update' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:14:in `update' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (16.5ms) Started PATCH "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:24:12 -0500 Processing by MongoidForums::TopicsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"lgTI5780v828wZd7apKHiFTMKafE6tP6jkimCiemdWRMIyCINJz9NSqLYVEWJzFiux7X6Aa6GUYp4oXDOzf9Ew==", "topic"=>{"name"=>"ggf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Update Topic", "id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Unpermitted parameter: posts Unpermitted parameter: posts MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} update={"$set"=>{"name"=>"ggf", "updated_at"=>2015-01-12 05:24:13 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 7.2520ms Redirected to http://localhost:3000/forums/topics/54b356ec4e65695bfc010000 Completed 302 Found in 47ms Started GET "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:24:13 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (13.5ms) Completed 200 OK in 50ms (Views: 44.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:24:13 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:24:13 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:24:13 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:24:13 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:24:13 -0500 Started GET "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:24:27 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (5.7ms) Completed 200 OK in 69ms (Views: 31.0ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:24:28 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:24:28 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:24:28 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:24:28 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:24:28 -0500 Started GET "/forums/topics/54b356ec4e65695bfc010000/edit" for ::1 at 2015-01-12 00:24:29 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4390ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.haml within layouts/mongoid_forums/application (6.1ms) Completed 200 OK in 33ms (Views: 28.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:24:29 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:24:29 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:24:29 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:24:29 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:24:29 -0500 Started PATCH "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:24:32 -0500 Processing by MongoidForums::TopicsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"gmHUUzhVDs/tlbouUAo85BY1WjMUhjSIiwgpV5TozTBYRjw8s/1MN3vfTAQsv4oO+eekfNbW/jQsogqeiHlFRw==", "topic"=>{"name"=>"ggffsfffdf", "posts"=>{"text"=>"dfdd"}}, "commit"=>"Update Topic", "id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4410ms Unpermitted parameter: posts Unpermitted parameter: posts MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} update={"$set"=>{"name"=>"ggffsfffdf", "updated_at"=>2015-01-12 05:24:32 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5560ms Redirected to http://localhost:3000/forums/topics/54b356ec4e65695bfc010000 Completed 302 Found in 11ms Started GET "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:24:32 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7500ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (6.8ms) Completed 200 OK in 33ms (Views: 27.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:24:32 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:24:32 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:24:32 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:24:32 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:24:32 -0500 Started GET "/forums/topics/54b356ec4e65695bfc010000/edit" for ::1 at 2015-01-12 00:25:37 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1100ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.haml within layouts/mongoid_forums/application (3.9ms) Completed 200 OK in 61ms (Views: 30.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 00:25:37 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 00:25:37 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 00:25:37 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 00:25:37 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 00:25:37 -0500 Started PATCH "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 00:25:39 -0500 Processing by MongoidForums::TopicsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"/6mOYblDmErOaxUY8UAoeb77MDxlDKaTCwWWwwQ+ADoljmYOMuvaslgh4zKN9Z6TUSnOc6dcbC+sr7UKGK+ITQ==", "topic"=>{"name"=>"ggffsfffdf", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Update Topic", "id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4100ms Completed 500 Internal Server Error in 17ms NoMethodError (undefined method `with_indifferent_access' for "sdfsdf":String): mongoid (4.0.0) lib/mongoid/relations/builders/nested_attributes/many.rb:30:in `block in build' mongoid (4.0.0) lib/mongoid/relations/builders/nested_attributes/many.rb:26:in `each' mongoid (4.0.0) lib/mongoid/relations/builders/nested_attributes/many.rb:26:in `build' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:139:in `block in process_relations' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:136:in `each_pair' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:136:in `process_relations' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:122:in `process_pending' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:29:in `process_attributes' mongoid (4.0.0) lib/mongoid/attributes.rb:203:in `block in assign_attributes' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:26:in `_assigning' mongoid (4.0.0) lib/mongoid/attributes.rb:202:in `assign_attributes' mongoid (4.0.0) lib/mongoid/persistable/updatable.rb:51:in `update' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:14:in `update' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (25.2ms) Started GET "/forums/" for ::1 at 2015-01-12 01:55:25 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.6290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (58.7ms) Completed 200 OK in 182ms (Views: 147.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 01:55:25 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 01:55:25 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 01:55:25 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 01:55:25 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 01:55:25 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-12 01:55:27 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (23.8ms) Completed 200 OK in 53ms (Views: 45.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 01:55:27 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 01:55:27 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 01:55:27 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 01:55:27 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 01:55:27 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-12 01:55:28 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (2.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (74.2ms) Completed 200 OK in 104ms (Views: 98.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 01:55:29 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 01:55:29 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 01:55:29 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 01:55:29 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 01:55:29 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-12 01:55:31 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"9L9eU1pkj/BAx+1FMp0aby4gU3llpuaaVbgo1xWgH0oumLY80czNCNaNG29OKKyFwfKtNqf2LCbyEgseCTGXPQ==", "topic"=>{"name"=>"sdfsdf", "posts"=>{"text"=>"sdfsd"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms Completed 500 Internal Server Error in 19ms NoMethodError (undefined method `attr_accessible' for MongoidForums::Subscription:Class): /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/subscription.rb:15:in `' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/subscription.rb:2:in `' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/subscription.rb:1:in `' activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load' activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:647:in `new_constants_in' activesupport (4.2.0) lib/active_support/dependencies.rb:456:in `load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:354:in `require_or_load' activesupport (4.2.0) lib/active_support/dependencies.rb:494:in `load_missing_constant' activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' activesupport (4.2.0) lib/active_support/core_ext/string/inflections.rb:66:in `constantize' mongoid (4.0.0) lib/mongoid/relations/metadata.rb:575:in `klass' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:563:in `criteria' mongoid (4.0.0) lib/mongoid/relations/metadata.rb:181:in `criteria' mongoid (4.0.0) lib/mongoid/relations/builders/referenced/many.rb:20:in `build' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:43:in `create_relation' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:26:in `__build__' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:104:in `block (2 levels) in get_relation' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:125:in `_loading' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:100:in `block in get_relation' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:84:in `_building' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:99:in `get_relation' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:187:in `block in getter' mongoid (4.0.0) lib/mongoid/validatable.rb:73:in `block in read_attribute_for_validation' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:140:in `without_autobuild' mongoid (4.0.0) lib/mongoid/validatable.rb:73:in `read_attribute_for_validation' activemodel (4.2.0) lib/active_model/validator.rb:149:in `block in validate' activemodel (4.2.0) lib/active_model/validator.rb:148:in `each' activemodel (4.2.0) lib/active_model/validator.rb:148:in `validate' activesupport (4.2.0) lib/active_support/callbacks.rb:450:in `public_send' activesupport (4.2.0) lib/active_support/callbacks.rb:450:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:189:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:189:in `block in simple' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_validate_callbacks' activemodel (4.2.0) lib/active_model/validations.rb:395:in `run_validations!' activemodel (4.2.0) lib/active_model/validations/callbacks.rb:113:in `block in run_validations!' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_validation_callbacks' activemodel (4.2.0) lib/active_model/validations/callbacks.rb:113:in `run_validations!' activemodel (4.2.0) lib/active_model/validations.rb:334:in `valid?' mongoid (4.0.0) lib/mongoid/validatable.rb:97:in `valid?' activemodel (4.2.0) lib/active_model/validations.rb:371:in `invalid?' mongoid (4.0.0) lib/mongoid/persistable/creatable.rb:114:in `prepare_insert' mongoid (4.0.0) lib/mongoid/persistable/creatable.rb:23:in `insert' mongoid (4.0.0) lib/mongoid/persistable/savable.rb:23:in `save' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:34:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (31.5ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-12 01:57:04 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"9L9eU1pkj/BAx+1FMp0aby4gU3llpuaaVbgo1xWgH0oumLY80czNCNaNG29OKKyFwfKtNqf2LCbyEgseCTGXPQ==", "topic"=>{"name"=>"sdfsdf", "posts"=>{"text"=>"sdfsd"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b370404e65695cab030000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdfsdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-12 06:57:04 UTC, "created_at"=>2015-01-12 06:57:04 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6340ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b370404e65695cab030000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 20.8170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b370404e65695cab030000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9690ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b370404e65695cab050000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b370404e65695cab030000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-12 06:57:04 UTC, "created_at"=>2015-01-12 06:57:04 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 23.6810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b370404e65695cab040000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdfsd", "topic_id"=>BSON::ObjectId('54b370404e65695cab030000'), "updated_at"=>2015-01-12 06:57:04 UTC, "created_at"=>2015-01-12 06:57:04 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8010ms Redirected to http://localhost:3000/forums/topics/54b370404e65695cab030000 Completed 302 Found in 103ms Started GET "/forums/topics/54b370404e65695cab030000" for ::1 at 2015-01-12 01:57:04 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6880ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (11.0ms) Completed 200 OK in 40ms (Views: 33.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 01:57:05 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 01:57:05 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 01:57:05 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 01:57:05 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 01:57:05 -0500 Started GET "/forums/topics/54b370404e65695cab030000" for ::1 at 2015-01-12 01:58:18 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (5.4ms) Completed 200 OK in 75ms (Views: 45.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 01:58:19 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 01:58:19 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 01:58:19 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 01:58:19 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 01:58:19 -0500 Started GET "/forums/topics/54b370404e65695cab030000/posts/new" for ::1 at 2015-01-12 01:58:20 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (6.7ms) Completed 200 OK in 53ms (Views: 45.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 01:58:21 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 01:58:21 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 01:58:21 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 01:58:21 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 01:58:21 -0500 Started POST "/forums/topics/54b370404e65695cab030000/posts" for ::1 at 2015-01-12 01:58:22 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"NBPeRsPFA9FyH+YVzdn/5dvPB2I/Tpi3hOxHS56vtFjuNDYpSG1BKeRVED+xbEkPNB35Lf0eUgsjRmSCgj48Lw==", "post"=>{"text"=>"sdfsd"}, "commit"=>"Create Reply", "topic_id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b370404e65695cab030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5150ms Overwriting existing field created_at in class MongoidForums::Alert. Overwriting existing field updated_at in class MongoidForums::Alert. MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('54b370404e65695cab050000'), "read"=>false}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 8.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b3708e4e65695cab070000'), "text"=>"sdfsd", "topic_id"=>BSON::ObjectId('54b370404e65695cab030000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-12 06:58:22 UTC, "created_at"=>2015-01-12 06:58:22 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5490ms Redirected to http://localhost:3000/forums/topics/54b370404e65695cab030000 Completed 302 Found in 50ms Started GET "/forums/topics/54b370404e65695cab030000" for ::1 at 2015-01-12 01:58:22 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.2ms) Completed 200 OK in 41ms (Views: 34.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 01:58:22 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 01:58:22 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 01:58:22 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 01:58:22 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 01:58:22 -0500 Started GET "/forums/topics/54b370404e65695cab030000" for ::1 at 2015-01-12 01:59:13 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (6.8ms) Completed 200 OK in 61ms (Views: 26.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 01:59:13 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 01:59:13 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 01:59:13 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 01:59:13 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 01:59:13 -0500 Started GET "/forums/topics/54b370404e65695cab030000/posts/new" for ::1 at 2015-01-12 01:59:14 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3120ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (3.9ms) Completed 200 OK in 33ms (Views: 27.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 01:59:14 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 01:59:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 01:59:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 01:59:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 01:59:14 -0500 Started POST "/forums/topics/54b370404e65695cab030000/posts" for ::1 at 2015-01-12 01:59:16 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"hWIZb0EtJ8QqMYaFqNHDU24afS/LvuA7kwXsyEm25bdfRfEAyoVlPLx7cK/UZHW5gciDYAnuKoc0r88BVSdtwA==", "post"=>{"text"=>"sdfsdf"}, "commit"=>"Create Reply", "topic_id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b370c44e65695cab090000'), "text"=>"sdfsdf", "topic_id"=>BSON::ObjectId('54b370404e65695cab030000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-12 06:59:16 UTC, "created_at"=>2015-01-12 06:59:16 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b370404e65695cab030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6680ms Overwriting existing field created_at in class MongoidForums::Alert. Overwriting existing field updated_at in class MongoidForums::Alert. MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('54b370404e65695cab050000'), "read"=>false}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3030ms Redirected to http://localhost:3000/forums/topics/54b370404e65695cab030000 Completed 302 Found in 30ms Started GET "/forums/topics/54b370404e65695cab030000" for ::1 at 2015-01-12 01:59:16 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3170ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.7ms) Completed 200 OK in 34ms (Views: 29.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 01:59:16 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 01:59:16 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 01:59:16 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 01:59:16 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 01:59:16 -0500 Started GET "/forums/topics/54b370404e65695cab030000" for ::1 at 2015-01-12 02:06:22 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (24.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (31.6ms) Completed 200 OK in 184ms (Views: 120.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:06:22 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:06:22 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:06:22 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:06:22 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:06:22 -0500 Started GET "/forums/topics/54b370404e65695cab030000/posts/new" for ::1 at 2015-01-12 02:06:24 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (19.5ms) Completed 200 OK in 48ms (Views: 41.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:06:24 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:06:24 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:06:24 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:06:24 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:06:24 -0500 Started POST "/forums/topics/54b370404e65695cab030000/posts" for ::1 at 2015-01-12 02:06:26 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"5zcTgnJ19viYHm4Z54eBqQ+hPX85zZTs5ZSS4T/0tbo9EPvt+d20AA5UmDObMjdD4HPDMPudXlBCPrEoI2U9zQ==", "post"=>{"text"=>"sdfsf"}, "commit"=>"Create Reply", "topic_id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b372724e65695cf2010000'), "text"=>"sdfsf", "topic_id"=>BSON::ObjectId('54b370404e65695cab030000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-12 07:06:26 UTC, "created_at"=>2015-01-12 07:06:26 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b370404e65695cab030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.2160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('54b370404e65695cab050000'), "read"=>false}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2850ms Redirected to http://localhost:3000/forums/topics/54b370404e65695cab030000 Completed 302 Found in 37ms Started GET "/forums/topics/54b370404e65695cab030000" for ::1 at 2015-01-12 02:06:26 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (13.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (15.4ms) Completed 200 OK in 55ms (Views: 48.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:06:26 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:06:26 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:06:26 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:06:26 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:06:26 -0500 Started GET "/" for ::1 at 2015-01-12 02:06:57 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.6ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms Rendered partials/_nav.haml (4.1ms) Completed 200 OK in 40ms (Views: 39.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:06:57 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:06:57 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:06:57 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:06:57 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:06:57 -0500 Started GET "/users/sign_out" for ::1 at 2015-01-12 02:06:58 -0500 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms Redirected to http://localhost:3000/ Completed 302 Found in 7ms Started GET "/" for ::1 at 2015-01-12 02:06:58 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) Rendered partials/_nav.haml (8.7ms) Completed 200 OK in 68ms (Views: 67.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:06:58 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:06:58 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:06:58 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:06:58 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:06:58 -0500 Started GET "/users/sign_in" for ::1 at 2015-01-12 02:06:59 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (6.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (24.5ms) Rendered partials/_nav.haml (0.5ms) Completed 200 OK in 62ms (Views: 58.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:06:59 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:06:59 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:06:59 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:06:59 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:06:59 -0500 Started POST "/users/sign_in" for ::1 at 2015-01-12 02:07:02 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"s+GiglJZlcNaSEDf5skU8Z4hV8qZesTqU7vlMyMLLoX5UbdjtRTvBZ7F0+ckLTf1knoC/NeYSwcL/IH/F1QiwA==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"neilj.ny@gmail.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5950ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"last_sign_in_at"=>2015-01-11 16:24:40 UTC, "current_sign_in_at"=>2015-01-12 07:07:02 UTC, "sign_in_count"=>11}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5420ms Redirected to http://localhost:3000/ Completed 302 Found in 83ms Started GET "/" for ::1 at 2015-01-12 02:07:02 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Rendered partials/_nav.haml (1.4ms) Completed 200 OK in 22ms (Views: 21.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:07:02 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:07:02 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:07:02 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:07:02 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:07:02 -0500 Started GET "/forums/topics/54b370404e65695cab030000" for ::1 at 2015-01-12 02:07:05 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.6ms) Completed 200 OK in 38ms (Views: 32.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:07:05 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:07:05 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:07:05 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:07:05 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:07:05 -0500 Started GET "/forums/topics/54b370404e65695cab030000/posts/new" for ::1 at 2015-01-12 02:07:07 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (2.8ms) Completed 200 OK in 36ms (Views: 28.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:07:07 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:07:07 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:07:07 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:07:07 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:07:07 -0500 Started POST "/forums/topics/54b370404e65695cab030000/posts" for ::1 at 2015-01-12 02:07:08 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"zSwVxh+wgyP24jQWErQCkCbwpX078Y5NUZYq3jaGG8on6BycB9XF6sWd1labe+RNKtv0pSZQz2B5Hmfl+wfT1g==", "post"=>{"text"=>"sdd"}, "commit"=>"Create Reply", "topic_id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b3729c4e65695cf2030000'), "text"=>"sdd", "topic_id"=>BSON::ObjectId('54b370404e65695cab030000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "reply_to_id"=>nil, "updated_at"=>2015-01-12 07:07:08 UTC, "created_at"=>2015-01-12 07:07:08 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b370404e65695cab030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('54b370404e65695cab050000'), "read"=>false}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6360ms Completed 500 Internal Server Error in 16ms NoMethodError (undefined method `username' for #): mongoid (4.0.0) lib/mongoid/relations/proxy.rb:150:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/subscription.rb:27:in `alert_subscriber' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/concerns/subscribable.rb:43:in `block in alert_subscribers' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/concerns/subscribable.rb:42:in `alert_subscribers' mongoid (4.0.0) lib/mongoid/relations/proxy.rb:150:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:33:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (20.9ms) Started POST "/forums/topics/54b370404e65695cab030000/posts" for ::1 at 2015-01-12 02:07:47 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"zSwVxh+wgyP24jQWErQCkCbwpX078Y5NUZYq3jaGG8on6BycB9XF6sWd1labe+RNKtv0pSZQz2B5Hmfl+wfT1g==", "post"=>{"text"=>"sdd"}, "commit"=>"Create Reply", "topic_id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b372c34e65695cf2040000'), "text"=>"sdd", "topic_id"=>BSON::ObjectId('54b370404e65695cab030000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "reply_to_id"=>nil, "updated_at"=>2015-01-12 07:07:47 UTC, "created_at"=>2015-01-12 07:07:47 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b370404e65695cab030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('54b370404e65695cab050000'), "read"=>false}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms Completed 500 Internal Server Error in 70ms Mongoid::Errors::UnknownAttribute ( Problem: Attempted to set a value for 'mongoid_forums_topic_post' which is not allowed on the model MongoidForums::Alert. Summary: Without including Mongoid::Attributes::Dynamic in your model and the attribute does not already exist in the attributes hash, attempting to call MongoidForums::Alert#mongoid_forums_topic_post= for it is not allowed. This is also triggered by passing the attribute to any method that accepts an attributes hash, and is raised instead of getting a NoMethodError. Resolution: You can include Mongoid::Attributes::Dynamic if you expect to be writing values for undefined fields often.): mongoid (4.0.0) lib/mongoid/attributes/processing.rb:96:in `process_attribute' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:25:in `block in process_attributes' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:23:in `each_pair' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:23:in `process_attributes' mongoid (4.0.0) lib/mongoid/document.rb:110:in `block in initialize' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:84:in `_building' mongoid (4.0.0) lib/mongoid/document.rb:104:in `initialize' mongoid (4.0.0) lib/mongoid/persistable/creatable.rb:147:in `new' mongoid (4.0.0) lib/mongoid/persistable/creatable.rb:147:in `block in create' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:156:in `_creating' mongoid (4.0.0) lib/mongoid/persistable/creatable.rb:143:in `create' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/subscription.rb:27:in `alert_subscriber' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/concerns/subscribable.rb:43:in `block in alert_subscribers' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/concerns/subscribable.rb:42:in `alert_subscribers' mongoid (4.0.0) lib/mongoid/relations/proxy.rb:150:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:33:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (19.9ms) Started GET "/forums/topics/54b370404e65695cab030000" for ::1 at 2015-01-12 02:07:50 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (11.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (13.0ms) Completed 200 OK in 43ms (Views: 38.1ms) Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:07:51 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:07:51 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:07:51 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:07:51 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:07:51 -0500 Started GET "/forums/topics/54b370404e65695cab030000/posts/new" for ::1 at 2015-01-12 02:07:54 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (3.3ms) Completed 200 OK in 31ms (Views: 26.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:07:54 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:07:54 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:07:54 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:07:54 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:07:54 -0500 Started POST "/forums/topics/54b370404e65695cab030000/posts" for ::1 at 2015-01-12 02:07:56 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"IflCKyUFz64z3YmF3+w3NilztSvTj7AsPYbqYMxNVenLPUtxPWCJZwCia8VWI9HrJVjk884u8QEVDqdbAcyd9Q==", "post"=>{"text"=>"sdfsd"}, "commit"=>"Create Reply", "topic_id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b372cc4e65695cf2060000'), "text"=>"sdfsd", "topic_id"=>BSON::ObjectId('54b370404e65695cab030000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "reply_to_id"=>nil, "updated_at"=>2015-01-12 07:07:56 UTC, "created_at"=>2015-01-12 07:07:56 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b370404e65695cab030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('54b370404e65695cab050000'), "read"=>false}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms Completed 500 Internal Server Error in 17ms Mongoid::Errors::UnknownAttribute ( Problem: Attempted to set a value for 'mongoid_forums_topic_post' which is not allowed on the model MongoidForums::Alert. Summary: Without including Mongoid::Attributes::Dynamic in your model and the attribute does not already exist in the attributes hash, attempting to call MongoidForums::Alert#mongoid_forums_topic_post= for it is not allowed. This is also triggered by passing the attribute to any method that accepts an attributes hash, and is raised instead of getting a NoMethodError. Resolution: You can include Mongoid::Attributes::Dynamic if you expect to be writing values for undefined fields often.): mongoid (4.0.0) lib/mongoid/attributes/processing.rb:96:in `process_attribute' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:25:in `block in process_attributes' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:23:in `each_pair' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:23:in `process_attributes' mongoid (4.0.0) lib/mongoid/document.rb:110:in `block in initialize' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:84:in `_building' mongoid (4.0.0) lib/mongoid/document.rb:104:in `initialize' mongoid (4.0.0) lib/mongoid/persistable/creatable.rb:147:in `new' mongoid (4.0.0) lib/mongoid/persistable/creatable.rb:147:in `block in create' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:156:in `_creating' mongoid (4.0.0) lib/mongoid/persistable/creatable.rb:143:in `create' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/subscription.rb:27:in `alert_subscriber' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/concerns/subscribable.rb:43:in `block in alert_subscribers' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/concerns/subscribable.rb:42:in `alert_subscribers' mongoid (4.0.0) lib/mongoid/relations/proxy.rb:150:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:33:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (21.7ms) Started GET "/forums/topics/54b370404e65695cab030000/posts/new" for ::1 at 2015-01-12 02:08:53 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7610ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (3.9ms) Completed 200 OK in 66ms (Views: 29.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:08:53 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:08:53 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:08:53 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:08:53 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:08:53 -0500 Started POST "/forums/topics/54b370404e65695cab030000/posts" for ::1 at 2015-01-12 02:08:54 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"epmFCD/O3jSHF9oW20o5aFL8JZqd+Aq22mQLHp2C0fyQXYxSJ6uY/bRoOFZShd+1Xtd0QoBZS5vy7EYlUAMZ4A==", "post"=>{"text"=>"sdf"}, "commit"=>"Create Reply", "topic_id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b373064e65695cf2080000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b370404e65695cab030000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "reply_to_id"=>nil, "updated_at"=>2015-01-12 07:08:54 UTC, "created_at"=>2015-01-12 07:08:54 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b370404e65695cab030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('54b370404e65695cab050000'), "read"=>false}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_alerts documents=[{"_id"=>BSON::ObjectId('54b373064e65695cf2090000'), "mongoid_forums_topic_count"=>0, "subscription_id"=>BSON::ObjectId('54b370404e65695cab050000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "mongoid_forums_topic_replier"=>"neilj.ny@gmail.com", "mongoid_forums_topic_post_id"=>BSON::ObjectId('54b373064e65695cf2080000'), "read"=>false, "updated_at"=>2015-01-12 07:08:54 UTC, "created_at"=>2015-01-12 07:08:54 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 16.2650ms Redirected to http://localhost:3000/forums/topics/54b370404e65695cab030000 Completed 302 Found in 54ms Started GET "/forums/topics/54b370404e65695cab030000" for ::1 at 2015-01-12 02:08:54 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (19.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (21.3ms) Completed 200 OK in 52ms (Views: 47.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:08:54 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:08:54 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:08:54 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:08:54 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:08:54 -0500 Started GET "/forums/topics/54b370404e65695cab030000" for ::1 at 2015-01-12 02:10:40 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (19.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (21.3ms) Completed 200 OK in 47ms (Views: 40.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:10:40 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:10:40 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:10:40 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:10:40 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:10:40 -0500 Started GET "/forums/topics/54b370404e65695cab030000" for ::1 at 2015-01-12 02:11:43 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (18.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (20.8ms) Completed 200 OK in 104ms (Views: 65.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:11:44 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:11:44 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:11:44 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:11:44 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:11:44 -0500 Started GET "/" for ::1 at 2015-01-12 02:11:51 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.3ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms Rendered partials/_nav.haml (2.4ms) Completed 200 OK in 32ms (Views: 31.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:11:51 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:11:51 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:11:51 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:11:51 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:11:51 -0500 Started GET "/forums" for ::1 at 2015-01-12 02:11:59 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (20.3ms) Completed 200 OK in 52ms (Views: 46.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:11:59 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:11:59 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:11:59 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:11:59 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:11:59 -0500 Started GET "/forums" for ::1 at 2015-01-12 02:12:14 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.0400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.8850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0020ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (57.9ms) Completed 200 OK in 93ms (Views: 87.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:12:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:12:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:12:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:12:14 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:12:14 -0500 Started GET "/forums" for ::1 at 2015-01-12 02:12:29 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (9.4ms) Completed 200 OK in 34ms (Views: 30.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:12:29 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:12:29 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:12:29 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:12:29 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:12:29 -0500 Started GET "/forums" for ::1 at 2015-01-12 02:14:06 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (9.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>"neilj.ny@gmail.com", "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.3010ms Completed 200 OK in 39ms (Views: 33.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:14:06 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:14:06 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:14:06 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:14:06 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:14:06 -0500 Started GET "/forums" for ::1 at 2015-01-12 02:14:42 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (60.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4680ms Completed 200 OK in 116ms (Views: 90.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:14:42 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:14:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:14:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:14:42 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:14:42 -0500 Started GET "/forums" for ::1 at 2015-01-12 02:14:43 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (9.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5270ms Completed 200 OK in 35ms (Views: 31.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:14:43 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:14:43 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:14:43 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:14:43 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:14:43 -0500 Started GET "/" for ::1 at 2015-01-12 02:15:14 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms Rendered partials/_nav.haml (2.2ms) Completed 200 OK in 24ms (Views: 24.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:15:14 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:15:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:15:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:15:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:15:14 -0500 Started GET "/users/sign_out" for ::1 at 2015-01-12 02:15:16 -0500 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6220ms Redirected to http://localhost:3000/ Completed 302 Found in 4ms Started GET "/" for ::1 at 2015-01-12 02:15:16 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) Rendered partials/_nav.haml (0.4ms) Completed 200 OK in 22ms (Views: 21.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:15:16 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:15:16 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:15:16 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:15:16 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:15:16 -0500 Started GET "/users/sign_in" for ::1 at 2015-01-12 02:15:17 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (8.6ms) Rendered partials/_nav.haml (0.5ms) Completed 200 OK in 49ms (Views: 48.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:15:17 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:15:17 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:15:17 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:15:17 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:15:17 -0500 Started POST "/users/sign_in" for ::1 at 2015-01-12 02:15:21 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"X5x/3Z7WHnmI6Ae1swa402NheafMHKYX4mp0VjOMpZctz34BPhb0q8IbRuKeX5ZwMyC5QmbfnLtBJyv4+vyDvw==", "user"=>{"email"=>"user@njay.net", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"user@njay.net"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6140ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"last_sign_in_at"=>2015-01-11 17:04:32 UTC, "current_sign_in_at"=>2015-01-12 07:15:21 UTC, "sign_in_count"=>3}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5920ms Redirected to http://localhost:3000/ Completed 302 Found in 100ms Started GET "/" for ::1 at 2015-01-12 02:15:21 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms Rendered partials/_nav.haml (1.7ms) Completed 200 OK in 25ms (Views: 24.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:15:21 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:15:21 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:15:21 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:15:21 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:15:21 -0500 Started GET "/" for ::1 at 2015-01-12 02:15:22 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms Rendered partials/_nav.haml (1.5ms) Completed 200 OK in 26ms (Views: 25.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:15:22 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:15:22 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:15:22 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:15:22 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:15:22 -0500 Started GET "/forums" for ::1 at 2015-01-12 02:15:24 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (32.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 8.5570ms Completed 200 OK in 89ms (Views: 68.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:15:24 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:15:24 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:15:24 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:15:24 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:15:24 -0500 Started GET "/forums" for ::1 at 2015-01-12 02:15:37 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (32.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6200ms Completed 200 OK in 82ms (Views: 58.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:15:37 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:15:37 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:15:37 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:15:37 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:15:37 -0500 Started GET "/forums" for ::1 at 2015-01-12 02:15:41 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (8.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6510ms Completed 200 OK in 35ms (Views: 32.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:15:42 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:15:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:15:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:15:42 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:15:42 -0500 Started GET "/forums" for ::1 at 2015-01-12 02:17:43 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5440ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (9.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5830ms Completed 500 Internal Server Error in 42ms ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::Topic): 9: - @alerts.each do |al| 10: = al.mongoid_forums_topic_replier 11: replied to 12: = Topic.find(al.mongoid_forums_topic_id).name 13: = time_ago_in_words(al.created_at) 14: ago 15: /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/layouts/mongoid_forums/application.haml:12:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_layouts_mongoid_forums_application_haml__1760372098960233704_70271794043160' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/layouts/mongoid_forums/application.haml:9:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_layouts_mongoid_forums_application_haml__1760372098960233704_70271794043160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:66:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (24.0ms) Started GET "/forums" for ::1 at 2015-01-12 02:17:52 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (9.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7360ms Completed 500 Internal Server Error in 39ms ActionView::Template::Error (uninitialized constant Mongoid::Topic): 9: - @alerts.each do |al| 10: = al.mongoid_forums_topic_replier 11: replied to 12: = Mongoid::Topic.find(al.mongoid_forums_topic_id).name 13: = time_ago_in_words(al.created_at) 14: ago 15: /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/layouts/mongoid_forums/application.haml:12:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_layouts_mongoid_forums_application_haml__1760372098960233704_70271832247260' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/layouts/mongoid_forums/application.haml:9:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_layouts_mongoid_forums_application_haml__1760372098960233704_70271832247260' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:66:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (25.2ms) Started GET "/forums" for ::1 at 2015-01-12 02:17:56 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (7.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6430ms Completed 500 Internal Server Error in 40ms ActionView::Template::Error (undefined method `mongoid_forums_topic_id' for #): 9: - @alerts.each do |al| 10: = al.mongoid_forums_topic_replier 11: replied to 12: = MongoidForums::Topic.find(al.mongoid_forums_topic_id).name 13: = time_ago_in_words(al.created_at) 14: ago 15: /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/layouts/mongoid_forums/application.haml:12:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_layouts_mongoid_forums_application_haml__1760372098960233704_70271831771360' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/layouts/mongoid_forums/application.haml:9:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_layouts_mongoid_forums_application_haml__1760372098960233704_70271831771360' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:66:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.4ms) Started GET "/forums" for ::1 at 2015-01-12 02:18:10 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (10.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Completed 500 Internal Server Error in 44ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Topic with id(s) 54b373064e65695cf2080000. Summary: When calling MongoidForums::Topic.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): 54b373064e65695cf2080000 ... (1 total) and the following ids were not found: 54b373064e65695cf2080000. Resolution: Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.): mongoid (4.0.0) lib/mongoid/criteria.rb:475:in `check_for_missing_documents!' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:20:in `execute_or_raise' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:40:in `find' mongoid (4.0.0) lib/mongoid/findable.rb:90:in `find' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/layouts/mongoid_forums/application.haml:12:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_layouts_mongoid_forums_application_haml__1760372098960233704_70271809076280' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/layouts/mongoid_forums/application.haml:9:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_layouts_mongoid_forums_application_haml__1760372098960233704_70271809076280' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:66:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (20.1ms) Started GET "/forums" for ::1 at 2015-01-12 02:18:17 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (8.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms Completed 200 OK in 40ms (Views: 37.4ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:18:17 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:18:17 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:18:17 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:18:17 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:18:17 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-12 02:18:21 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (27.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms Completed 200 OK in 65ms (Views: 58.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:18:21 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:18:21 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:18:21 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:18:21 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:18:21 -0500 Started GET "/forums/topics/54b370404e65695cab030000" for ::1 at 2015-01-12 02:18:25 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3090ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (18.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (21.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms Completed 200 OK in 62ms (Views: 55.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:18:26 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:18:26 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:18:26 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:18:26 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:18:26 -0500 Started GET "/forums" for ::1 at 2015-01-12 02:18:33 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (8.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms Completed 200 OK in 50ms (Views: 46.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:18:33 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:18:33 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:18:33 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:18:33 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:18:33 -0500 Started GET "/forums" for ::1 at 2015-01-12 02:18:34 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (7.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms Completed 200 OK in 56ms (Views: 52.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:18:34 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:18:34 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:18:34 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:18:34 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:18:34 -0500 Started GET "/forums" for ::1 at 2015-01-12 02:20:19 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9430ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (11.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms Completed 200 OK in 44ms (Views: 40.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:20:19 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:20:19 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:20:19 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:20:19 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:20:19 -0500 Started GET "/forums/topics/54b370404e65695cab030000" for ::1 at 2015-01-12 02:20:20 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (19.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (22.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms Completed 200 OK in 55ms (Views: 47.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:20:20 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:20:20 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:20:20 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:20:20 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:20:20 -0500 Started GET "/forums" for ::1 at 2015-01-12 02:24:00 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (39.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms Completed 200 OK in 101ms (Views: 73.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:24:00 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:24:00 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:24:00 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:24:00 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:24:00 -0500 Started GET "/forums/topics/54b370404e65695cab030000" for ::1 at 2015-01-12 02:24:02 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (18.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (20.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4560ms Completed 200 OK in 56ms (Views: 48.7ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:24:02 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:24:02 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:24:02 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:24:02 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:24:02 -0500 Started GET "/forums/topics/54b370404e65695cab030000" for ::1 at 2015-01-12 02:24:02 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9700ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (20.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (22.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5380ms Completed 200 OK in 71ms (Views: 64.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:24:03 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:24:03 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:24:03 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:24:03 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:24:03 -0500 Started GET "/forums" for ::1 at 2015-01-12 02:24:03 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (8.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6310ms Completed 200 OK in 34ms (Views: 30.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:24:03 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:24:03 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:24:03 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:24:03 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:24:03 -0500 Started GET "/forums" for ::1 at 2015-01-12 02:24:04 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (11.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4720ms Completed 200 OK in 38ms (Views: 34.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 02:24:04 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 02:24:04 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 02:24:04 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 02:24:04 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 02:24:04 -0500 Started GET "/forums" for ::1 at 2015-01-12 07:05:06 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 3.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.8950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.7670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.9410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.0790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (64.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.9670ms Completed 200 OK in 219ms (Views: 168.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:05:06 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:05:06 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:05:06 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:05:06 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:05:06 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-12 07:05:08 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8540ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (30.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4860ms Completed 200 OK in 62ms (Views: 56.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:05:08 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:05:08 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:05:08 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:05:08 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:05:08 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-12 07:06:47 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (28.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms Completed 200 OK in 95ms (Views: 55.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:06:47 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:06:47 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:06:47 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:06:47 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:06:47 -0500 Started GET "/" for ::1 at 2015-01-12 07:06:55 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.5ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms Rendered partials/_nav.haml (3.3ms) Completed 200 OK in 41ms (Views: 40.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:06:55 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:06:55 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:06:55 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:06:55 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:06:55 -0500 Started GET "/users/sign_out" for ::1 at 2015-01-12 07:07:00 -0500 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms Redirected to http://localhost:3000/ Completed 302 Found in 9ms Started GET "/" for ::1 at 2015-01-12 07:07:00 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) Rendered partials/_nav.haml (4.1ms) Completed 200 OK in 25ms (Views: 24.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:07:01 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:07:01 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:07:01 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:07:01 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:07:01 -0500 Started GET "/users/sign_in" for ::1 at 2015-01-12 07:07:02 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (7.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (25.9ms) Rendered partials/_nav.haml (0.3ms) Completed 200 OK in 66ms (Views: 56.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:07:02 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:07:02 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:07:02 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:07:02 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:07:02 -0500 Started POST "/users/sign_in" for ::1 at 2015-01-12 07:07:05 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"fckXoiLgZr3a9x46LMYe9dhJyddOexk/XWXwacP7K/AENJZsDbg5zJsEo/3bnENV1+oK1VgWgCTV3XXPgm2JUg==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"neilj.ny@gmail.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7410ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"last_sign_in_at"=>2015-01-12 07:07:02 UTC, "current_sign_in_at"=>2015-01-12 12:07:05 UTC, "sign_in_count"=>12}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.5890ms Redirected to http://localhost:3000/ Completed 302 Found in 87ms Started GET "/" for ::1 at 2015-01-12 07:07:05 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms Rendered partials/_nav.haml (1.3ms) Completed 200 OK in 24ms (Views: 23.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:07:05 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:07:05 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:07:05 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:07:05 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:07:05 -0500 Started GET "/forums" for ::1 at 2015-01-12 07:07:08 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (8.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4410ms Completed 200 OK in 34ms (Views: 30.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:07:08 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:07:08 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:07:08 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:07:08 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:07:08 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-12 07:07:10 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6630ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (26.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4380ms Completed 200 OK in 53ms (Views: 47.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:07:10 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:07:10 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:07:10 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:07:10 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:07:10 -0500 Started GET "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 07:07:15 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4420ms Completed 200 OK in 36ms (Views: 30.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:07:15 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:07:15 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:07:15 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:07:15 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:07:15 -0500 Started GET "/forums/topics/54b356ec4e65695bfc010000/posts/new" for ::1 at 2015-01-12 07:07:17 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (9.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6450ms Completed 200 OK in 44ms (Views: 38.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:07:17 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:07:17 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:07:17 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:07:17 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:07:17 -0500 Started POST "/forums/topics/54b356ec4e65695bfc010000/posts" for ::1 at 2015-01-12 07:07:19 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"UEis1479yVSDislrfn8dXLnT8yPzPYQduYrXlph8ygAA9qelYwATQI/k8NRCZMFzfSs8P9cDy/hesYmQhVyYfQ==", "post"=>{"text"=>"sdfs"}, "commit"=>"Create Reply", "topic_id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b3b8f74e6569603d010000'), "text"=>"sdfs", "topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "reply_to_id"=>nil, "updated_at"=>2015-01-12 12:07:19 UTC, "created_at"=>2015-01-12 12:07:19 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 9.2940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b356ec4e65695bfc010000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.5130ms Redirected to http://localhost:3000/forums/topics/54b356ec4e65695bfc010000 Completed 302 Found in 30ms Started GET "/forums/topics/54b356ec4e65695bfc010000" for ::1 at 2015-01-12 07:07:19 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b356ec4e65695bfc010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6970ms Completed 200 OK in 50ms (Views: 44.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:07:19 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:07:19 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:07:19 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:07:19 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:07:19 -0500 Started GET "/forums/topics/54b370404e65695cab030000" for ::1 at 2015-01-12 07:07:31 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.4160ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (19.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (21.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4320ms Completed 200 OK in 52ms (Views: 41.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:07:31 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:07:31 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:07:31 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:07:31 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:07:31 -0500 Started GET "/forums/topics/54b370404e65695cab030000/posts/new" for ::1 at 2015-01-12 07:07:34 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (2.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4660ms Completed 200 OK in 33ms (Views: 25.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:07:34 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:07:34 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:07:34 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:07:34 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:07:34 -0500 Started POST "/forums/topics/54b370404e65695cab030000/posts" for ::1 at 2015-01-12 07:07:35 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"x4zBP4RMkrEuCxGO/gxB428jcQkwTbXIjAXp4waiOgmXMspNabFIpSJlKDHCF53Mq9u+FRRz+i1rPrflG4JodA==", "post"=>{"text"=>"sdfsdf"}, "commit"=>"Create Reply", "topic_id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.1010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8500ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b3b9074e6569603d030000'), "text"=>"sdfsdf", "topic_id"=>BSON::ObjectId('54b370404e65695cab030000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "reply_to_id"=>nil, "updated_at"=>2015-01-12 12:07:35 UTC, "created_at"=>2015-01-12 12:07:35 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b370404e65695cab030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('54b370404e65695cab050000'), "read"=>false}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6930ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2090000')} update={"$set"=>{"updated_at"=>2015-01-12 12:07:35 UTC, "mongoid_forums_topic_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.0280ms Redirected to http://localhost:3000/forums/topics/54b370404e65695cab030000 Completed 302 Found in 22ms Started GET "/forums/topics/54b370404e65695cab030000" for ::1 at 2015-01-12 07:07:35 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8740ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (18.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (20.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6160ms Completed 200 OK in 47ms (Views: 40.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:07:35 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:07:35 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:07:35 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:07:35 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:07:35 -0500 Started GET "/forums/topics/54b370404e65695cab030000/posts/new" for ::1 at 2015-01-12 07:07:37 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (3.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4660ms Completed 200 OK in 28ms (Views: 23.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:07:37 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:07:37 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:07:37 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:07:37 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:07:37 -0500 Started POST "/forums/topics/54b370404e65695cab030000/posts" for ::1 at 2015-01-12 07:07:38 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"jjdB0MQ7LprpK4C72Vw/xq3UKi1fmj8qyKUpyTC0wQTeiUqiKcb0juVFuQTlR+PpaSzlMXukcM8vnnfPLZSTeQ==", "post"=>{"text"=>"sdfsf"}, "commit"=>"Create Reply", "topic_id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7970ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b3b90a4e6569603d050000'), "text"=>"sdfsf", "topic_id"=>BSON::ObjectId('54b370404e65695cab030000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "reply_to_id"=>nil, "updated_at"=>2015-01-12 12:07:38 UTC, "created_at"=>2015-01-12 12:07:38 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b370404e65695cab030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('54b370404e65695cab050000'), "read"=>false}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2090000')} update={"$set"=>{"updated_at"=>2015-01-12 12:07:38 UTC, "mongoid_forums_topic_count"=>2}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4420ms Redirected to http://localhost:3000/forums/topics/54b370404e65695cab030000 Completed 302 Found in 17ms Started GET "/forums/topics/54b370404e65695cab030000" for ::1 at 2015-01-12 07:07:38 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (22.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (24.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4690ms Completed 200 OK in 52ms (Views: 46.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:07:39 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:07:39 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:07:39 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:07:39 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:07:39 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-12 07:15:45 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (11.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (12.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4330ms Completed 200 OK in 36ms (Views: 29.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:15:45 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:15:45 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:15:45 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:15:45 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:15:45 -0500 Started GET "/" for ::1 at 2015-01-12 07:15:49 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6910ms Rendered partials/_nav.haml (2.4ms) Completed 200 OK in 38ms (Views: 38.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:15:49 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:15:49 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:15:49 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:15:49 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:15:49 -0500 Started GET "/users/sign_out" for ::1 at 2015-01-12 07:15:51 -0500 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms Redirected to http://localhost:3000/ Completed 302 Found in 3ms Started GET "/" for ::1 at 2015-01-12 07:15:51 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) Rendered partials/_nav.haml (0.6ms) Completed 200 OK in 29ms (Views: 28.8ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:15:51 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:15:51 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:15:51 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:15:51 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:15:51 -0500 Started GET "/users/sign_in" for ::1 at 2015-01-12 07:15:52 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (3.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (10.1ms) Rendered partials/_nav.haml (0.4ms) Completed 200 OK in 41ms (Views: 40.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:15:52 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:15:52 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:15:52 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:15:52 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:15:52 -0500 Started POST "/users/sign_in" for ::1 at 2015-01-12 07:16:02 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"a1fq13MqpcBVGPHjRtmqnaNuM8zuklVKHitrw3460aurDXkZBo8VL+plA87/AIUCMBppXS60p6XVb3waHR3kCw==", "user"=>{"email"=>"user@njay.net", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"user@njay.net"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6290ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"last_sign_in_at"=>2015-01-12 07:15:21 UTC, "current_sign_in_at"=>2015-01-12 12:16:02 UTC, "sign_in_count"=>4}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7720ms Redirected to http://localhost:3000/ Completed 302 Found in 88ms Started GET "/" for ::1 at 2015-01-12 07:16:02 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms Rendered partials/_nav.haml (1.3ms) Completed 200 OK in 21ms (Views: 20.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:16:02 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:16:02 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:16:02 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:16:02 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:16:02 -0500 Started GET "/forums" for ::1 at 2015-01-12 07:16:07 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8410ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (8.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3140ms Completed 200 OK in 39ms (Views: 35.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:16:07 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:16:07 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:16:07 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:16:07 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:16:07 -0500 Started GET "/forums/topics/54b370404e65695cab030000" for ::1 at 2015-01-12 07:16:14 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7970ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (19.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (20.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4660ms Completed 200 OK in 51ms (Views: 41.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:16:15 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:16:15 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:16:15 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:16:15 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:16:15 -0500 Started GET "/forums" for ::1 at 2015-01-12 07:16:17 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (8.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4970ms Completed 200 OK in 33ms (Views: 30.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:16:17 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:16:17 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:16:17 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:16:17 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:16:17 -0500 Started GET "/forums" for ::1 at 2015-01-12 07:17:58 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (48.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms Completed 200 OK in 103ms (Views: 79.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:17:58 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:17:58 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:17:58 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:17:58 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:17:58 -0500 Started GET "/forums" for ::1 at 2015-01-12 07:18:21 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7050ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (10.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2840ms Completed 500 Internal Server Error in 54ms ActionView::Template::Error (undefined method `name' for #): 10: = al.mongoid_forums_topic_replier 11: replied to 12: - topic = MongoidForums::Post.find(al.mongoid_forums_topic_post_id).topic 13: = link_to topic.name, al.name 14: = time_ago_in_words(al.created_at) 15: ago 16: /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/layouts/mongoid_forums/application.haml:13:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_layouts_mongoid_forums_application_haml__1951225135058186269_70156162322900' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/layouts/mongoid_forums/application.haml:9:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_layouts_mongoid_forums_application_haml__1951225135058186269_70156162322900' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:66:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (26.7ms) Started GET "/forums" for ::1 at 2015-01-12 07:18:26 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (7.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab050000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 8.2200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('54b373064e65695cf2080000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms Completed 200 OK in 54ms (Views: 50.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:18:26 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:18:26 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:18:26 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:18:26 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:18:26 -0500 Started GET "/forums/posts/54b373064e65695cf2080000" for ::1 at 2015-01-12 07:18:29 -0500 ActionController::RoutingError (No route matches [GET] "/forums/posts/54b373064e65695cf2080000"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (3.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (46.4ms) Started GET "/forums/posts/54b373064e65695cf2080000" for ::1 at 2015-01-12 07:18:35 -0500 ActionController::RoutingError (No route matches [GET] "/forums/posts/54b373064e65695cf2080000"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (15.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (56.4ms) Started GET "/forums/posts/54b373064e65695cf2080000" for ::1 at 2015-01-12 07:22:30 -0500 Processing by MongoidForums::RedirectController#posts as HTML Parameters: {"post_id"=>"54b373064e65695cf2080000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6230ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 25ms Started GET "/forums/" for ::1 at 2015-01-12 07:22:30 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (31.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab050000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('54b373064e65695cf2080000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms Completed 200 OK in 70ms (Views: 66.9ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:22:30 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:22:30 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:22:30 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:22:30 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:22:30 -0500 Started GET "/forums/posts/54b373064e65695cf2080000" for ::1 at 2015-01-12 07:22:33 -0500 Processing by MongoidForums::RedirectController#posts as HTML Parameters: {"post_id"=>"54b373064e65695cf2080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-12 07:22:33 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (8.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab050000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('54b373064e65695cf2080000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms Completed 200 OK in 36ms (Views: 33.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:22:33 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:22:33 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:22:33 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:22:33 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:22:33 -0500 Started GET "/forums/posts/54b373064e65695cf2080000" for ::1 at 2015-01-12 07:22:37 -0500 Processing by MongoidForums::RedirectController#posts as HTML Parameters: {"post_id"=>"54b373064e65695cf2080000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5790ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 21ms Started GET "/forums/" for ::1 at 2015-01-12 07:22:37 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (29.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab050000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('54b373064e65695cf2080000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3190ms Completed 200 OK in 66ms (Views: 63.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:22:37 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:22:37 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:22:37 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:22:37 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:22:37 -0500 Started GET "/forums/" for ::1 at 2015-01-12 07:22:47 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (91.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab050000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('54b373064e65695cf2080000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms Completed 200 OK in 216ms (Views: 166.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:22:47 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:22:47 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:22:47 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:22:47 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:22:47 -0500 Started GET "/forums/posts/54b373064e65695cf2080000" for ::1 at 2015-01-12 07:22:48 -0500 Processing by MongoidForums::RedirectController#posts as HTML Parameters: {"post_id"=>"54b373064e65695cf2080000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.0160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8550ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 8ms Started GET "/forums/" for ::1 at 2015-01-12 07:22:48 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (8.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab050000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('54b373064e65695cf2080000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms Completed 200 OK in 51ms (Views: 47.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:22:48 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:22:48 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:22:48 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:22:48 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:22:48 -0500 Started GET "/forums/" for ::1 at 2015-01-12 07:23:42 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (74.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab050000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('54b373064e65695cf2080000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms Completed 200 OK in 142ms (Views: 114.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:23:42 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:23:42 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:23:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:23:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:23:42 -0500 Started GET "/forums/posts/54b373064e65695cf2080000" for ::1 at 2015-01-12 07:23:43 -0500 Processing by MongoidForums::RedirectController#posts as HTML Parameters: {"post_id"=>"54b373064e65695cf2080000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-01-12 07:23:43 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6520ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (9.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab050000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('54b373064e65695cf2080000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms Completed 200 OK in 40ms (Views: 37.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:23:43 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:23:43 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:23:43 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:23:43 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:23:43 -0500 Started GET "/forums/posts/54b373064e65695cf2080000" for ::1 at 2015-01-12 07:23:44 -0500 Processing by MongoidForums::RedirectController#posts as HTML Parameters: {"post_id"=>"54b373064e65695cf2080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-12 07:23:44 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (9.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab050000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('54b373064e65695cf2080000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms Completed 200 OK in 43ms (Views: 38.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:23:44 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:23:44 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:23:44 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:23:44 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:23:44 -0500 Started GET "/forums/posts/54b373064e65695cf2080000" for ::1 at 2015-01-12 07:23:48 -0500 Processing by MongoidForums::RedirectController#posts as HTML Parameters: {"post_id"=>"54b373064e65695cf2080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 17ms Started GET "/forums/" for ::1 at 2015-01-12 07:23:48 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (26.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab050000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('54b373064e65695cf2080000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms Completed 200 OK in 63ms (Views: 59.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:23:48 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:23:48 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:23:48 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:23:48 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:23:48 -0500 Started GET "/forums/posts/54b373064e65695cf2080000" for ::1 at 2015-01-12 07:23:49 -0500 Processing by MongoidForums::RedirectController#posts as HTML Parameters: {"post_id"=>"54b373064e65695cf2080000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-01-12 07:23:49 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6740ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (8.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab050000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('54b373064e65695cf2080000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms Completed 200 OK in 35ms (Views: 31.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:23:49 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:23:49 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:23:49 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:23:49 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:23:49 -0500 Started GET "/forums/" for ::1 at 2015-01-12 07:24:02 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7230ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (36.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab050000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('54b373064e65695cf2080000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms Completed 200 OK in 102ms (Views: 74.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 07:24:02 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 07:24:02 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 07:24:02 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 07:24:02 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 07:24:02 -0500 Started GET "/forums/posts/54b373064e65695cf2080000" for ::1 at 2015-01-12 07:24:03 -0500 Processing by MongoidForums::RedirectController#posts as HTML Parameters: {"post_id"=>"54b373064e65695cf2080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms Completed 500 Internal Server Error in 6ms NoMethodError (undefined method `by_created_at' for #): mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:413:in `public_send' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:413:in `block in method_missing' mongoid (4.0.0) lib/mongoid/scopable.rb:239:in `with_scope' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:412:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:21:in `posts' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (28.8ms) Started GET "/forums/posts/54b373064e65695cf2080000" for ::1 at 2015-01-12 07:24:40 -0500 Processing by MongoidForums::RedirectController#posts as HTML Parameters: {"post_id"=>"54b373064e65695cf2080000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms Completed 500 Internal Server Error in 37ms NoMethodError (undefined method `by_created_at' for #): mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:413:in `public_send' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:413:in `block in method_missing' mongoid (4.0.0) lib/mongoid/scopable.rb:239:in `with_scope' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:412:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:21:in `posts' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (20.3ms) Started GET "/forums/posts/54b373064e65695cf2080000" for ::1 at 2015-01-12 07:24:41 -0500 Processing by MongoidForums::RedirectController#posts as HTML Parameters: {"post_id"=>"54b373064e65695cf2080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms Completed 500 Internal Server Error in 5ms NoMethodError (undefined method `by_created_at' for #): mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:413:in `public_send' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:413:in `block in method_missing' mongoid (4.0.0) lib/mongoid/scopable.rb:239:in `with_scope' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:412:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:21:in `posts' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (20.6ms) Started GET "/forums/posts/54b373064e65695cf2080000" for ::1 at 2015-01-12 14:51:51 -0500 Processing by MongoidForums::RedirectController#posts as HTML Parameters: {"post_id"=>"54b373064e65695cf2080000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 2.2930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 6.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 6.8840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.2020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8040ms Completed 500 Internal Server Error in 82ms NoMethodError (undefined method `by_created_at' for #): mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:413:in `public_send' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:413:in `block in method_missing' mongoid (4.0.0) lib/mongoid/scopable.rb:239:in `with_scope' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:412:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:21:in `posts' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (22.2ms) Started GET "/forums/posts/54b373064e65695cf2080000" for ::1 at 2015-01-12 14:52:44 -0500 Processing by MongoidForums::RedirectController#posts as HTML Parameters: {"post_id"=>"54b373064e65695cf2080000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6770ms Completed 500 Internal Server Error in 66ms NoMethodError (undefined method `by_created_at' for #): mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:413:in `public_send' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:413:in `block in method_missing' mongoid (4.0.0) lib/mongoid/scopable.rb:239:in `with_scope' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:412:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:21:in `posts' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (23.2ms) Started GET "/forums/posts/54b373064e65695cf2080000" for ::1 at 2015-01-12 14:52:45 -0500 Processing by MongoidForums::RedirectController#posts as HTML Parameters: {"post_id"=>"54b373064e65695cf2080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms Completed 500 Internal Server Error in 6ms NoMethodError (undefined method `by_created_at' for #): mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:413:in `public_send' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:413:in `block in method_missing' mongoid (4.0.0) lib/mongoid/scopable.rb:239:in `with_scope' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:412:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:21:in `posts' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (14.9ms) Started GET "/forums/posts/54b373064e65695cf2080000" for ::1 at 2015-01-12 14:53:32 -0500 Processing by MongoidForums::RedirectController#posts as HTML Parameters: {"post_id"=>"54b373064e65695cf2080000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms Completed 500 Internal Server Error in 42ms NoMethodError (undefined method `by_created_at' for #): mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:413:in `public_send' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:413:in `block in method_missing' mongoid (4.0.0) lib/mongoid/scopable.rb:239:in `with_scope' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:412:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:21:in `posts' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (18.9ms) Started GET "/forums/posts/54b373064e65695cf2080000" for ::1 at 2015-01-12 15:14:24 -0500 Processing by MongoidForums::RedirectController#posts as HTML Parameters: {"post_id"=>"54b373064e65695cf2080000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.0730ms Completed 500 Internal Server Error in 39ms NameError (uninitialized constant MongoidForums::RedirectController::Forem): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:25:in `posts' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (19.6ms) Started GET "/forums/posts/54b373064e65695cf2080000" for ::1 at 2015-01-12 15:14:44 -0500 SyntaxError (/Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:26: syntax error, unexpected keyword_end, expecting ')' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:33: syntax error, unexpected end-of-input, expecting keyword_end): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:26: syntax error, unexpected keyword_end, expecting ')' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:33: syntax error, unexpected end-of-input, expecting keyword_end activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load' activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:647:in `new_constants_in' activesupport (4.2.0) lib/active_support/dependencies.rb:456:in `load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:354:in `require_or_load' activesupport (4.2.0) lib/active_support/dependencies.rb:494:in `load_missing_constant' activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' activesupport (4.2.0) lib/active_support/dependencies.rb:566:in `get' activesupport (4.2.0) lib/active_support/dependencies.rb:597:in `constantize' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (20.5ms) Started GET "/forums/posts/54b373064e65695cf2080000" for ::1 at 2015-01-12 15:15:04 -0500 SyntaxError (/Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:26: syntax error, unexpected keyword_end, expecting ')' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:33: syntax error, unexpected end-of-input, expecting keyword_end): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:26: syntax error, unexpected keyword_end, expecting ')' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:33: syntax error, unexpected end-of-input, expecting keyword_end activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load' activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:647:in `new_constants_in' activesupport (4.2.0) lib/active_support/dependencies.rb:456:in `load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:354:in `require_or_load' activesupport (4.2.0) lib/active_support/dependencies.rb:494:in `load_missing_constant' activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' activesupport (4.2.0) lib/active_support/dependencies.rb:566:in `get' activesupport (4.2.0) lib/active_support/dependencies.rb:597:in `constantize' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (15.5ms) Started GET "/forums/posts/54b373064e65695cf2080000" for ::1 at 2015-01-12 15:15:05 -0500 SyntaxError (/Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:26: syntax error, unexpected keyword_end, expecting ')' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:33: syntax error, unexpected end-of-input, expecting keyword_end): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:26: syntax error, unexpected keyword_end, expecting ')' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:33: syntax error, unexpected end-of-input, expecting keyword_end activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load' activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:647:in `new_constants_in' activesupport (4.2.0) lib/active_support/dependencies.rb:456:in `load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:354:in `require_or_load' activesupport (4.2.0) lib/active_support/dependencies.rb:494:in `load_missing_constant' activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' activesupport (4.2.0) lib/active_support/dependencies.rb:566:in `get' activesupport (4.2.0) lib/active_support/dependencies.rb:597:in `constantize' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (16.0ms) Started GET "/forums/posts/54b373064e65695cf2080000" for ::1 at 2015-01-12 15:15:35 -0500 SyntaxError (/Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:26: syntax error, unexpected keyword_end, expecting ')' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:33: syntax error, unexpected end-of-input, expecting keyword_end): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:26: syntax error, unexpected keyword_end, expecting ')' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:33: syntax error, unexpected end-of-input, expecting keyword_end activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load' activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:647:in `new_constants_in' activesupport (4.2.0) lib/active_support/dependencies.rb:456:in `load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:354:in `require_or_load' activesupport (4.2.0) lib/active_support/dependencies.rb:494:in `load_missing_constant' activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' activesupport (4.2.0) lib/active_support/dependencies.rb:566:in `get' activesupport (4.2.0) lib/active_support/dependencies.rb:597:in `constantize' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (16.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (28.6ms) Started GET "/forums/posts/54b373064e65695cf2080000" for ::1 at 2015-01-12 15:15:46 -0500 SyntaxError (/Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:26: syntax error, unexpected keyword_end, expecting ')' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:33: syntax error, unexpected end-of-input, expecting keyword_end): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:26: syntax error, unexpected keyword_end, expecting ')' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:33: syntax error, unexpected end-of-input, expecting keyword_end activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load' activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:647:in `new_constants_in' activesupport (4.2.0) lib/active_support/dependencies.rb:456:in `load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:354:in `require_or_load' activesupport (4.2.0) lib/active_support/dependencies.rb:494:in `load_missing_constant' activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' activesupport (4.2.0) lib/active_support/dependencies.rb:566:in `get' activesupport (4.2.0) lib/active_support/dependencies.rb:597:in `constantize' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (53.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (11.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (83.2ms) Started GET "/forums/posts/54b373064e65695cf2080000" for ::1 at 2015-01-12 15:15:47 -0500 SyntaxError (/Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:26: syntax error, unexpected keyword_end, expecting ')' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:33: syntax error, unexpected end-of-input, expecting keyword_end): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:26: syntax error, unexpected keyword_end, expecting ')' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:33: syntax error, unexpected end-of-input, expecting keyword_end activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load' activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:647:in `new_constants_in' activesupport (4.2.0) lib/active_support/dependencies.rb:456:in `load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:354:in `require_or_load' activesupport (4.2.0) lib/active_support/dependencies.rb:494:in `load_missing_constant' activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' activesupport (4.2.0) lib/active_support/dependencies.rb:566:in `get' activesupport (4.2.0) lib/active_support/dependencies.rb:597:in `constantize' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (21.1ms) Started GET "/forums/posts/54b373064e65695cf2080000" for ::1 at 2015-01-12 15:16:20 -0500 Processing by MongoidForums::RedirectController#posts as HTML Parameters: {"post_id"=>"54b373064e65695cf2080000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6980ms Completed 500 Internal Server Error in 45ms NameError (uninitialized constant MongoidForums::RedirectController::Forem): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/redirect_controller.rb:25:in `posts' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (15.1ms) Started GET "/forums/posts/54b373064e65695cf2080000" for ::1 at 2015-01-12 15:16:31 -0500 Processing by MongoidForums::RedirectController#posts as HTML Parameters: {"post_id"=>"54b373064e65695cf2080000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8140ms Redirected to http://localhost:3000/forums/topics/54b370404e65695cab030000?page=1#54b373064e65695cf2080000 Completed 302 Found in 47ms Started GET "/forums/topics/54b370404e65695cab030000?page=1" for ::1 at 2015-01-12 15:16:32 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"page"=>"1", "id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6430ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 7.9300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (34.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (44.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4800ms Completed 200 OK in 127ms (Views: 112.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 15:16:32 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 15:16:32 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 15:16:32 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 15:16:32 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 15:16:32 -0500 Started GET "/forums/topics/54b370404e65695cab030000?page=1" for ::1 at 2015-01-12 15:16:34 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"page"=>"1", "id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7280ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (23.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (25.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6400ms Completed 200 OK in 58ms (Views: 50.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 15:16:34 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 15:16:34 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 15:16:34 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 15:16:34 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 15:16:34 -0500 Started GET "/forums/" for ::1 at 2015-01-12 15:16:38 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 4.1870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.8620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 51.8420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.7120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3090ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (85.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.4540ms Completed 200 OK in 119ms (Views: 113.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-12 15:16:38 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-12 15:16:38 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-12 15:16:38 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-12 15:16:38 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-12 15:16:38 -0500 Started GET "/" for ::1 at 2015-01-13 19:50:52 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (1.7ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 5.1730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.7270ms Rendered partials/_nav.haml (12.7ms) Completed 200 OK in 86ms (Views: 85.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 19:50:53 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 19:50:53 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 19:50:53 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 19:50:53 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 19:50:53 -0500 Started GET "/forums" for ::1 at 2015-01-13 19:50:57 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 10.7930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 3.2260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (70.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 3.9760ms Completed 200 OK in 188ms (Views: 106.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 19:50:57 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 19:50:57 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 19:50:57 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 19:50:57 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 19:50:57 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 19:50:58 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (32.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6060ms Completed 200 OK in 78ms (Views: 72.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 19:50:58 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 19:50:58 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 19:50:58 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 19:50:58 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 19:50:58 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-13 19:51:01 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 3.1010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5810ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (13.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7120ms Completed 200 OK in 54ms (Views: 43.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 19:51:01 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 19:51:01 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 19:51:01 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 19:51:01 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 19:51:01 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 19:51:17 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (24.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab050000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('54b373064e65695cf2080000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms Completed 200 OK in 122ms (Views: 115.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 19:51:17 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 19:51:17 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 19:51:17 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 19:51:17 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 19:51:17 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 19:51:18 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (26.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab050000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('54b373064e65695cf2080000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms Completed 200 OK in 62ms (Views: 55.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 19:51:18 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 19:51:18 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 19:51:18 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 19:51:18 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 19:51:18 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 19:57:00 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.7650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6750ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (43.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab050000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('54b373064e65695cf2080000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7830ms Completed 200 OK in 124ms (Views: 80.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 19:57:00 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 19:57:00 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 19:57:00 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 19:57:00 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 19:57:00 -0500 Started GET "/forums/posts/54b373064e65695cf2080000" for ::1 at 2015-01-13 20:00:51 -0500 Processing by MongoidForums::RedirectController#posts as HTML Parameters: {"post_id"=>"54b373064e65695cf2080000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b373064e65695cf2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6960ms Redirected to http://localhost:3000/forums/topics/54b370404e65695cab030000?page=1#54b373064e65695cf2080000 Completed 302 Found in 51ms Started GET "/forums/topics/54b370404e65695cab030000?page=1" for ::1 at 2015-01-13 20:00:51 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"page"=>"1", "id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6370ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (17.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (19.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4550ms Completed 200 OK in 51ms (Views: 43.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:00:52 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:00:52 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:00:52 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:00:52 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:00:52 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:00:54 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6560ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (23.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4900ms Completed 200 OK in 81ms (Views: 66.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:00:54 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:00:54 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:00:54 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:00:54 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:00:54 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:00:55 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (25.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6440ms Completed 200 OK in 53ms (Views: 47.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:00:55 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:00:55 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:00:55 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:00:55 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:00:55 -0500 Started GET "/" for ::1 at 2015-01-13 20:34:44 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (2.3ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms Rendered partials/_nav.haml (5.7ms) Completed 200 OK in 96ms (Views: 95.9ms) Started GET "/forums" for ::1 at 2015-01-13 20:34:44 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (89.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5850ms Completed 200 OK in 154ms (Views: 121.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:34:44 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:34:44 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:34:44 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:34:44 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:34:44 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:34:45 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0050ms Completed 500 Internal Server Error in 11ms NoMethodError (undefined method `by_pinned_or_most_recent_post' for #): mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:413:in `public_send' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:413:in `block in method_missing' mongoid (4.0.0) lib/mongoid/scopable.rb:239:in `with_scope' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:412:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:12:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (31.5ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:36:11 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4820ms Completed 500 Internal Server Error in 42ms NoMethodError (undefined method `page' for #): mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:12:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (20.0ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:37:13 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (55.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5250ms Completed 200 OK in 205ms (Views: 157.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:37:13 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:37:13 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:37:13 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:37:13 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:37:13 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-13 20:37:31 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8750ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (61.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4920ms Completed 200 OK in 103ms (Views: 95.5ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:37:31 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:37:31 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:37:31 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:37:31 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:37:31 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-13 20:37:33 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"B9ZhNN/0XvN//k34n7xhclVTo6mZe9Zs4PTtOIUR5hirID0JKjLTKJQBHxf8vbNDFLNogh/JmgK8tRaNW+2sNw==", "topic"=>{"name"=>"sdfsff", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdfsff", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 01:37:33 UTC, "created_at"=>2015-01-14 01:37:33 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 3.7090ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b5c85d4e65696990010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 1.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b5c85d4e65696990010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8290ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b5c85d4e65696990030000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b5c85d4e65696990010000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 01:37:33 UTC, "created_at"=>2015-01-14 01:37:33 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms Completed 500 Internal Server Error in 35ms NoMethodError (undefined method `set_topic_last_post_at' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_save_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' mongoid (4.0.0) lib/mongoid/interceptable.rb:138:in `run_callbacks' mongoid (4.0.0) lib/mongoid/persistable/creatable.rb:115:in `prepare_insert' mongoid (4.0.0) lib/mongoid/persistable/creatable.rb:23:in `insert' mongoid (4.0.0) lib/mongoid/persistable/savable.rb:23:in `save' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:34:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (21.6ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-13 20:39:19 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"B9ZhNN/0XvN//k34n7xhclVTo6mZe9Zs4PTtOIUR5hirID0JKjLTKJQBHxf8vbNDFLNogh/JmgK8tRaNW+2sNw==", "topic"=>{"name"=>"sdfsff", "posts"=>{"text"=>"sdfsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdfsff", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 01:39:19 UTC, "created_at"=>2015-01-14 01:39:19 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7910ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b5c8c74e65696990040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.6120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b5c8c74e65696990040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b5c8c74e65696990060000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b5c8c74e65696990040000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 01:39:19 UTC, "created_at"=>2015-01-14 01:39:19 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b5c8c74e65696990050000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdfsdf", "topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000'), "updated_at"=>2015-01-14 01:39:19 UTC, "created_at"=>2015-01-14 01:39:19 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4080ms Redirected to http://localhost:3000/forums/topics/54b5c8c74e65696990040000 Completed 302 Found in 65ms Started GET "/forums/topics/54b5c8c74e65696990040000" for ::1 at 2015-01-13 20:39:19 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b5c8c74e65696990040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9890ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (9.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (15.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4600ms Completed 200 OK in 54ms (Views: 47.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:39:19 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:39:19 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:39:19 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:39:19 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:39:19 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:39:23 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (35.2ms) Completed 500 Internal Server Error in 49ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 26: = time_ago_in_words( topic.created_at ) 27: ago 28: %td 29: = topic.posts.last.user.forum_display_name 30: = time_ago_in_words( topic.posts.last.created_at ) 31: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:29:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202354205160' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202354205160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (25.4ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:39:26 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (28.8ms) Completed 500 Internal Server Error in 36ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 26: = time_ago_in_words( topic.created_at ) 27: ago 28: %td 29: = topic.posts.last.user.forum_display_name 30: = time_ago_in_words( topic.posts.last.created_at ) 31: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:29:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202354205160' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202354205160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (28.2ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:40:24 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.9080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (35.2ms) Completed 500 Internal Server Error in 75ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 26: = time_ago_in_words( topic.created_at ) 27: ago 28: %td 29: = topic.posts.last.user.forum_display_name 30: = time_ago_in_words( topic.posts.last.created_at ) 31: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:29:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202379452700' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202379452700' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.4ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:41:03 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.1020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (8.3ms) Completed 500 Internal Server Error in 16ms ActionView::Template::Error (undefined method `last_post_at' for #): 26: = time_ago_in_words( topic.created_at ) 27: ago 28: %td 29: = topic.last_post_at 30: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:29:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202347057360' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202347057360' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.4ms) Started GET "/forums/54b163bf4e656920a7000000?page=1" for ::1 at 2015-01-13 20:41:28 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"page"=>"1", "id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.0500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (50.4ms) Completed 500 Internal Server Error in 59ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 26: = time_ago_in_words( topic.created_at ) 27: ago 28: %td 29: = topic.posts.last.user.forum_display_name 30: = time_ago_in_words( topic.posts.last.created_at ) 31: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:29:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.2ms) Started GET "/forums/54b163bf4e656920a7000000?page=" for ::1 at 2015-01-13 20:41:32 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"page"=>"", "id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (27.0ms) Completed 500 Internal Server Error in 36ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 26: = time_ago_in_words( topic.created_at ) 27: ago 28: %td 29: = topic.posts.last.user.forum_display_name 30: = time_ago_in_words( topic.posts.last.created_at ) 31: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:29:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.4ms) Started GET "/forums/54b163bf4e656920a7000000?page=0" for ::1 at 2015-01-13 20:41:34 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"page"=>"0", "id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.9160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (25.4ms) Completed 500 Internal Server Error in 33ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 26: = time_ago_in_words( topic.created_at ) 27: ago 28: %td 29: = topic.posts.last.user.forum_display_name 30: = time_ago_in_words( topic.posts.last.created_at ) 31: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:29:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.7ms) Started GET "/forums/54b163bf4e656920a7000000?page=0" for ::1 at 2015-01-13 20:41:45 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"page"=>"0", "id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.7600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.6660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (47.3ms) Completed 500 Internal Server Error in 97ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 26: = time_ago_in_words( topic.created_at ) 27: ago 28: %td 29: = topic.posts.last.user.forum_display_name 30: = time_ago_in_words( topic.posts.last.created_at ) 31: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:29:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.7ms) Started GET "/forums/54b163bf4e656920a7000000?page=0" for ::1 at 2015-01-13 20:41:46 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"page"=>"0", "id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2980ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (36.5ms) Completed 500 Internal Server Error in 46ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 26: = time_ago_in_words( topic.created_at ) 27: ago 28: %td 29: = topic.posts.last.user.forum_display_name 30: = time_ago_in_words( topic.posts.last.created_at ) 31: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:29:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.9ms) Started GET "/forums/54b163bf4e656920a7000000?page=0" for ::1 at 2015-01-13 20:41:46 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"page"=>"0", "id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2810ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (29.0ms) Completed 500 Internal Server Error in 38ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 26: = time_ago_in_words( topic.created_at ) 27: ago 28: %td 29: = topic.posts.last.user.forum_display_name 30: = time_ago_in_words( topic.posts.last.created_at ) 31: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:29:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (16.2ms) Started GET "/forums/54b163bf4e656920a7000000?page=0" for ::1 at 2015-01-13 20:41:46 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"page"=>"0", "id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2760ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (26.5ms) Completed 500 Internal Server Error in 35ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 26: = time_ago_in_words( topic.created_at ) 27: ago 28: %td 29: = topic.posts.last.user.forum_display_name 30: = time_ago_in_words( topic.posts.last.created_at ) 31: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:29:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (24.8ms) Started GET "/forums/54b163bf4e656920a7000000?page=0" for ::1 at 2015-01-13 20:41:47 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"page"=>"0", "id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.0660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (31.1ms) Completed 500 Internal Server Error in 40ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 26: = time_ago_in_words( topic.created_at ) 27: ago 28: %td 29: = topic.posts.last.user.forum_display_name 30: = time_ago_in_words( topic.posts.last.created_at ) 31: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:29:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.6ms) Started GET "/forums/54b163bf4e656920a7000000?page=0" for ::1 at 2015-01-13 20:41:47 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"page"=>"0", "id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (27.3ms) Completed 500 Internal Server Error in 50ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 26: = time_ago_in_words( topic.created_at ) 27: ago 28: %td 29: = topic.posts.last.user.forum_display_name 30: = time_ago_in_words( topic.posts.last.created_at ) 31: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:29:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.4ms) Started GET "/forums/54b163bf4e656920a7000000?page=0" for ::1 at 2015-01-13 20:41:47 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"page"=>"0", "id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (25.2ms) Completed 500 Internal Server Error in 34ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 26: = time_ago_in_words( topic.created_at ) 27: ago 28: %td 29: = topic.posts.last.user.forum_display_name 30: = time_ago_in_words( topic.posts.last.created_at ) 31: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:29:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (16.4ms) Started GET "/forums/54b163bf4e656920a7000000?page=0" for ::1 at 2015-01-13 20:42:10 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"page"=>"0", "id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.6250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.0790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (38.4ms) Completed 500 Internal Server Error in 85ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 26: = time_ago_in_words( topic.created_at ) 27: ago 28: %td 29: = topic.posts.last.user.forum_display_name 30: = time_ago_in_words( topic.posts.last.created_at ) 31: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:29:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.4ms) Started GET "/forums/54b163bf4e656920a7000000?page=0" for ::1 at 2015-01-13 20:42:32 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"page"=>"0", "id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (37.9ms) Completed 500 Internal Server Error in 88ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 26: = time_ago_in_words( topic.created_at ) 27: ago 28: %td 29: = topic.posts.last.user.forum_display_name 30: = time_ago_in_words( topic.posts.last.created_at ) 31: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:29:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (28.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (42.0ms) Started GET "/forums/54b163bf4e656920a7000000?page=0" for ::1 at 2015-01-13 20:42:50 -0500 SyntaxError (/Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:13: syntax error, unexpected keyword_do_block puts @topics.each { do |topic| puts topic.name } ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:13: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '(' puts @topics.each { do |topic| puts topic.name } ^): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:13: syntax error, unexpected keyword_do_block puts @topics.each { do |topic| puts topic.name } ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:13: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '(' puts @topics.each { do |topic| puts topic.name } ^ activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load' activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:647:in `new_constants_in' activesupport (4.2.0) lib/active_support/dependencies.rb:456:in `load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:354:in `require_or_load' activesupport (4.2.0) lib/active_support/dependencies.rb:494:in `load_missing_constant' activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' activesupport (4.2.0) lib/active_support/dependencies.rb:566:in `get' activesupport (4.2.0) lib/active_support/dependencies.rb:597:in `constantize' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (21.7ms) Started GET "/forums/54b163bf4e656920a7000000?page=0" for ::1 at 2015-01-13 20:42:50 -0500 SyntaxError (/Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:13: syntax error, unexpected keyword_do_block puts @topics.each { do |topic| puts topic.name } ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:13: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '(' puts @topics.each { do |topic| puts topic.name } ^): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:13: syntax error, unexpected keyword_do_block puts @topics.each { do |topic| puts topic.name } ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:13: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '(' puts @topics.each { do |topic| puts topic.name } ^ activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load' activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:647:in `new_constants_in' activesupport (4.2.0) lib/active_support/dependencies.rb:456:in `load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:354:in `require_or_load' activesupport (4.2.0) lib/active_support/dependencies.rb:494:in `load_missing_constant' activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' activesupport (4.2.0) lib/active_support/dependencies.rb:566:in `get' activesupport (4.2.0) lib/active_support/dependencies.rb:597:in `constantize' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (16.9ms) Started GET "/forums/54b163bf4e656920a7000000?page=0" for ::1 at 2015-01-13 20:42:57 -0500 SyntaxError (/Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:13: syntax error, unexpected keyword_do_block puts @topics.each { do |topic| puts topic.name end } ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:13: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '(' puts @topics.each { do |topic| puts topic.name end } ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:13: syntax error, unexpected keyword_end, expecting '}' puts @topics.each { do |topic| puts topic.name end } ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:15: syntax error, unexpected keyword_end, expecting '}' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:52: syntax error, unexpected keyword_end, expecting '}'): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:13: syntax error, unexpected keyword_do_block puts @topics.each { do |topic| puts topic.name end } ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:13: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '(' puts @topics.each { do |topic| puts topic.name end } ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:13: syntax error, unexpected keyword_end, expecting '}' puts @topics.each { do |topic| puts topic.name end } ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:15: syntax error, unexpected keyword_end, expecting '}' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:52: syntax error, unexpected keyword_end, expecting '}' activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load' activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:647:in `new_constants_in' activesupport (4.2.0) lib/active_support/dependencies.rb:456:in `load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:354:in `require_or_load' activesupport (4.2.0) lib/active_support/dependencies.rb:494:in `load_missing_constant' activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' activesupport (4.2.0) lib/active_support/dependencies.rb:566:in `get' activesupport (4.2.0) lib/active_support/dependencies.rb:597:in `constantize' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (20.9ms) Started GET "/forums/54b163bf4e656920a7000000?page=0" for ::1 at 2015-01-13 20:43:03 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"page"=>"0", "id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.1530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (37.2ms) Completed 500 Internal Server Error in 94ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 26: = time_ago_in_words( topic.created_at ) 27: ago 28: %td 29: = topic.posts.last.user.forum_display_name 30: = time_ago_in_words( topic.posts.last.created_at ) 31: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:29:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.8ms) Started GET "/forums/54b163bf4e656920a7000000?page=0" for ::1 at 2015-01-13 20:43:48 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"page"=>"0", "id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.1780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.9720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (29.6ms) Completed 500 Internal Server Error in 106ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 26: = time_ago_in_words( topic.created_at ) 27: ago 28: %td 29: = topic.posts.last.user.forum_display_name 30: = time_ago_in_words( topic.posts.last.created_at ) 31: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:29:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (29.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (44.9ms) Started GET "/forums/54b163bf4e656920a7000000?page=0" for ::1 at 2015-01-13 20:44:12 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"page"=>"0", "id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.0630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms Completed 500 Internal Server Error in 81ms NoMethodError (undefined method `user' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:13:in `block in show' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:13:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (20.8ms) Started GET "/forums/54b163bf4e656920a7000000?page=0" for ::1 at 2015-01-13 20:44:20 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"page"=>"0", "id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.9410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (32.5ms) Completed 500 Internal Server Error in 129ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 26: = time_ago_in_words( topic.created_at ) 27: ago 28: %td 29: = topic.posts.last.user.forum_display_name 30: = time_ago_in_words( topic.posts.last.created_at ) 31: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:29:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.4ms) Started GET "/forums/54b163bf4e656920a7000000?page=0" for ::1 at 2015-01-13 20:44:33 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"page"=>"0", "id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (31.7ms) Completed 500 Internal Server Error in 128ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 26: = time_ago_in_words( topic.created_at ) 27: ago 28: %td 29: = topic.posts.last.user.forum_display_name 30: = time_ago_in_words( topic.posts.last.created_at ) 31: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:29:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4214790954608751293_70202380558160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.3ms) Started GET "/forums/54b163bf4e656920a7000000?page=0" for ::1 at 2015-01-13 20:44:57 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"page"=>"0", "id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms Completed 500 Internal Server Error in 89ms NoMethodError (undefined method `user' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:13:in `block in show' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:13:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (19.7ms) Started GET "/forums/54b163bf4e656920a7000000?page=0" for ::1 at 2015-01-13 20:45:09 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"page"=>"0", "id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.9090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms Completed 500 Internal Server Error in 82ms NoMethodError (undefined method `user' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:13:in `block in show' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:13:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (26.9ms) Started GET "/forums/54b163bf4e656920a7000000?page=0" for ::1 at 2015-01-13 20:45:10 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"page"=>"0", "id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.9400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms Completed 500 Internal Server Error in 25ms NoMethodError (undefined method `user' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:13:in `block in show' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:13:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (13.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (27.0ms) Started GET "/forums/54b163bf4e656920a7000000?page=" for ::1 at 2015-01-13 20:45:11 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"page"=>"", "id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms Completed 500 Internal Server Error in 30ms NoMethodError (undefined method `user' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:13:in `block in show' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:13:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (24.1ms) Started GET "/forums/54b163bf4e656920a7000000?page=" for ::1 at 2015-01-13 20:45:11 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"page"=>"", "id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms Completed 500 Internal Server Error in 28ms NoMethodError (undefined method `user' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:13:in `block in show' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:13:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (23.6ms) Started GET "/forums/" for ::1 at 2015-01-13 20:45:14 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (27.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4900ms Completed 200 OK in 122ms (Views: 118.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:45:14 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:45:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:45:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:45:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:45:14 -0500 Started GET "/forums/" for ::1 at 2015-01-13 20:45:16 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8410ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (13.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5050ms Completed 200 OK in 48ms (Views: 43.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:45:16 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:45:16 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:45:16 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:45:16 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:45:16 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 20:45:17 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (10.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4860ms Completed 200 OK in 51ms (Views: 44.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:45:17 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:45:17 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:45:17 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:45:17 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:45:17 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:45:19 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms Completed 500 Internal Server Error in 22ms NoMethodError (undefined method `user' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:13:in `block in show' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:13:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (16.2ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:45:38 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (21.4ms) Completed 500 Internal Server Error in 68ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 26: = time_ago_in_words( topic.created_at ) 27: ago 28: %td 29: = topic.posts.last.user.forum_display_name 30: = time_ago_in_words( topic.posts.last.created_at ) 31: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:29:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___3927593427256454023_70149159691580' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___3927593427256454023_70149159691580' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.0ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:46:01 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (20.3ms) Completed 500 Internal Server Error in 97ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 26: = time_ago_in_words( topic.created_at ) 27: ago 28: %td 29: = topic.posts.last.user.forum_display_name 30: = time_ago_in_words( topic.posts.last.created_at ) 31: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:29:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___3927593427256454023_70149159691580' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___3927593427256454023_70149159691580' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (17.7ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:46:32 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (22.0ms) Completed 500 Internal Server Error in 33ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 45: = time_ago_in_words( topic.created_at ) 46: ago 47: %td 48: = topic.posts.last.user.forum_display_name 49: = time_ago_in_words( topic.posts.last.created_at ) 50: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:48:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___3927593427256454023_70149139514280' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:34:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:34:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___3927593427256454023_70149139514280' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (19.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (31.9ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:47:44 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6010ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (43.2ms) Completed 500 Internal Server Error in 122ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 26: = time_ago_in_words( topic.created_at ) 27: ago 28: %td 29: = topic.posts.last.user.forum_display_name 30: = time_ago_in_words( topic.posts.last.created_at ) 31: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:29:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__3239330836269487882_70303282262120' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__3239330836269487882_70303282262120' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.8ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:47:46 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (9.2ms) Completed 500 Internal Server Error in 17ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 26: = time_ago_in_words( topic.created_at ) 27: ago 28: %td 29: = topic.posts.last.user.forum_display_name 30: = time_ago_in_words( topic.posts.last.created_at ) 31: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:29:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__3239330836269487882_70303282262120' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:15:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__3239330836269487882_70303282262120' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (18.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (32.9ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:47:58 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (69.9ms) Completed 500 Internal Server Error in 121ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 45: = time_ago_in_words( topic.created_at ) 46: ago 47: %td 48: = topic.posts.last.user.forum_display_name 49: = time_ago_in_words( topic.posts.last.created_at ) 50: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:48:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__3239330836269487882_70303277504000' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:34:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:34:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__3239330836269487882_70303277504000' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.9ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:48:11 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (25.3ms) Completed 500 Internal Server Error in 70ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 45: = time_ago_in_words( topic.created_at ) 46: ago 47: %td 48: = topic.posts.last.user.forum_display_name 49: = time_ago_in_words( topic.posts.last.created_at ) 50: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:48:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__3239330836269487882_70303277504000' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:34:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:34:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__3239330836269487882_70303277504000' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (24.5ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:48:24 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9800ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (60.4ms) Completed 500 Internal Server Error in 161ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 45: = time_ago_in_words( topic.created_at ) 46: ago 47: %td 48: = topic.posts.last.user.forum_display_name 49: = time_ago_in_words( topic.posts.last.created_at ) 50: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:48:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___3558543211750030505_70297766393060' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:34:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:34:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___3558543211750030505_70297766393060' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (32.1ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:48:24 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (17.2ms) Completed 500 Internal Server Error in 25ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 45: = time_ago_in_words( topic.created_at ) 46: ago 47: %td 48: = topic.posts.last.user.forum_display_name 49: = time_ago_in_words( topic.posts.last.created_at ) 50: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:48:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___3558543211750030505_70297766393060' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:34:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:34:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___3558543211750030505_70297766393060' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.8ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:48:25 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (19.5ms) Completed 500 Internal Server Error in 29ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 45: = time_ago_in_words( topic.created_at ) 46: ago 47: %td 48: = topic.posts.last.user.forum_display_name 49: = time_ago_in_words( topic.posts.last.created_at ) 50: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:48:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___3558543211750030505_70297766393060' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:34:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:34:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___3558543211750030505_70297766393060' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.8ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:48:25 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (18.5ms) Completed 500 Internal Server Error in 26ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 45: = time_ago_in_words( topic.created_at ) 46: ago 47: %td 48: = topic.posts.last.user.forum_display_name 49: = time_ago_in_words( topic.posts.last.created_at ) 50: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:48:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___3558543211750030505_70297766393060' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:34:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:34:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___3558543211750030505_70297766393060' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.9ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:48:58 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6340ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (4.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6320ms Completed 200 OK in 99ms (Views: 50.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:48:58 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:48:58 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:48:58 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:48:58 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:48:58 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:49:04 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (11.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5110ms Completed 200 OK in 43ms (Views: 35.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:49:04 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:49:04 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:49:04 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:49:04 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:49:04 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:49:08 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6150ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (21.0ms) Completed 500 Internal Server Error in 29ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 27: = time_ago_in_words( topic.created_at ) 28: ago 29: %td 30: = topic.posts.last.user.forum_display_name 31: = time_ago_in_words( topic.posts.last.created_at ) 32: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:30:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___3558543211750030505_70297818792020' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:16:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:16:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___3558543211750030505_70297818792020' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (29.5ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:49:15 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (17.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4740ms Completed 200 OK in 51ms (Views: 42.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:49:15 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:49:15 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:49:15 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:49:15 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:49:15 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:49:19 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6170ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (10.2ms) Completed 500 Internal Server Error in 20ms ActionView::Template::Error (undefined method `ID' for #): 27: = time_ago_in_words( topic.created_at ) 28: ago 29: %td 30: = topic.posts.last.ID /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:30:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___3558543211750030505_70297827237780' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:16:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:16:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___3558543211750030505_70297827237780' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.1ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:49:22 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (11.2ms) Completed 500 Internal Server Error in 19ms ActionView::Template::Error (undefined method `id' for nil:NilClass): 27: = time_ago_in_words( topic.created_at ) 28: ago 29: %td 30: = topic.posts.last.id /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:30:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___3558543211750030505_70297815122000' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:16:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:16:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___3558543211750030505_70297815122000' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.5ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:49:26 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (18.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6700ms Completed 200 OK in 54ms (Views: 44.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:49:27 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:49:27 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:49:27 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:49:27 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:49:27 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:49:56 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (15.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5280ms Completed 200 OK in 41ms (Views: 34.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:49:56 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:49:56 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:49:56 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:49:56 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:49:56 -0500 Started GET "/forums/topics/54b5c85d4e65696990010000" for ::1 at 2015-01-13 20:50:05 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b5c85d4e65696990010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b5c85d4e65696990010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6170ms Rendered collection (0.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (6.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5060ms Completed 200 OK in 41ms (Views: 34.6ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:50:05 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:50:05 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:50:05 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:50:05 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:50:05 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:51:13 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (12.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5090ms Completed 200 OK in 44ms (Views: 37.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:51:13 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:51:13 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:51:13 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:51:13 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:51:13 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:51:18 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (17.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4770ms Completed 200 OK in 47ms (Views: 40.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:51:18 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:51:18 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:51:18 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:51:18 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:51:18 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-13 20:51:28 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (68.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5800ms Completed 200 OK in 100ms (Views: 94.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:51:28 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:51:29 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:51:29 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:51:29 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:51:29 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-13 20:51:31 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Msd/zG0Q/zCDyhF54bSDmIq/wuI4iXZOAvML9QxvXHueMSPxmNZy62g1Q5aCtVGpy18Jyb47OiBesvBA0pMWVA==", "topic"=>{"name"=>"asdfs", "posts"=>{"text"=>"sdfsd"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"asdfs", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 01:51:31 UTC, "created_at"=>2015-01-14 01:51:31 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6360ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b5cba34e65696ac9010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b5cba34e65696ac9010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b5cba34e65696ac9030000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b5cba34e65696ac9010000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 01:51:31 UTC, "created_at"=>2015-01-14 01:51:31 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b5cba34e65696ac9020000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdfsd", "topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000'), "updated_at"=>2015-01-14 01:51:31 UTC, "created_at"=>2015-01-14 01:51:31 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5650ms Redirected to http://localhost:3000/forums/topics/54b5cba34e65696ac9010000 Completed 302 Found in 28ms Started GET "/forums/topics/54b5cba34e65696ac9010000" for ::1 at 2015-01-13 20:51:31 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b5cba34e65696ac9010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4740ms Completed 200 OK in 37ms (Views: 31.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:51:31 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:51:31 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:51:31 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:51:31 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:51:31 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-13 20:51:32 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (6.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5690ms Completed 200 OK in 47ms (Views: 37.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:51:33 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:51:33 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:51:33 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:51:33 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:51:33 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:51:33 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (22.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5180ms Completed 200 OK in 52ms (Views: 46.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:51:33 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:51:33 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:51:33 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:51:33 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:51:33 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:51:49 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (17.9ms) Completed 500 Internal Server Error in 70ms ActionView::Template::Error (undefined method `last_post_at' for #): 28: ago 29: %td 30: = topic.posts.last.user.forum_display_name 31: = time_ago_in_words( topic.last_post_at ) 32: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:31:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___3558543211750030505_70297770076920' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:16:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:16:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___3558543211750030505_70297770076920' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (26.6ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:52:32 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (30.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5290ms Completed 200 OK in 113ms (Views: 63.8ms) Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:52:33 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:52:33 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:52:33 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:52:33 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:52:33 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:52:38 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (20.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5260ms Completed 200 OK in 48ms (Views: 42.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:52:39 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:52:39 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:52:39 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:52:39 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:52:39 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:52:45 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (19.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5380ms Completed 200 OK in 46ms (Views: 39.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:52:45 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:52:45 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:52:45 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:52:45 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:52:45 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:53:13 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (18.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4470ms Completed 200 OK in 43ms (Views: 36.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:53:13 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:53:13 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:53:13 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:53:13 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:53:13 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:53:14 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9750ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (15.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5870ms Completed 200 OK in 46ms (Views: 39.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:53:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:53:14 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:53:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:53:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:53:14 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:53:40 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (11.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4840ms Completed 200 OK in 39ms (Views: 31.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:53:40 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:53:40 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:53:40 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:53:40 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:53:41 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:53:54 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (15.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7200ms Completed 200 OK in 46ms (Views: 40.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:53:54 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:53:54 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:53:54 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:53:54 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:53:54 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:54:00 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (15.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5880ms Completed 200 OK in 46ms (Views: 39.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:54:00 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:54:00 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:54:00 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:54:00 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:54:00 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:54:34 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms Completed 500 Internal Server Error in 48ms NoMethodError (undefined method `by_most_recent_or_pinned' for #): mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:413:in `public_send' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:413:in `block in method_missing' mongoid (4.0.0) lib/mongoid/scopable.rb:239:in `with_scope' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:412:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:11:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (21.9ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:54:47 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4420ms Completed 500 Internal Server Error in 43ms NoMethodError (undefined method `by_most_recent_or_pinned' for #): mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:413:in `public_send' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:413:in `block in method_missing' mongoid (4.0.0) lib/mongoid/scopable.rb:239:in `with_scope' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:412:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:12:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (16.7ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:55:09 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4390ms Completed 500 Internal Server Error in 53ms NameError (uninitialized constant MongoidForums::ForumsController::Forem): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:12:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (22.5ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:55:11 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2680ms Completed 500 Internal Server Error in 6ms NameError (uninitialized constant MongoidForums::ForumsController::Forem): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:12:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (17.0ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:55:17 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.1280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (40.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4550ms Completed 200 OK in 113ms (Views: 74.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:55:17 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:55:17 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:55:17 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:55:17 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:55:17 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-13 20:55:23 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0010ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (11.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4620ms Completed 200 OK in 42ms (Views: 34.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:55:23 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:55:23 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:55:23 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:55:23 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:55:23 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-13 20:55:31 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6420ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (6.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5880ms Completed 200 OK in 43ms (Views: 34.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:55:31 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:55:31 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:55:31 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:55:31 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:55:31 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:55:47 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.9190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (10.7ms) Completed 500 Internal Server Error in 18ms ActionView::Template::Error (undefined method `last_post_at' for #): 28: ago 29: %td 30: = topic.posts.last.user.forum_display_name 31: = time_ago_in_words( topic.last_post_at ) 32: ago /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:31:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___3558543211750030505_70297764618400' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:16:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___3558543211750030505_70297764618400' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (25.7ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:56:46 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.9240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (11.0ms) Completed 500 Internal Server Error in 18ms ActionView::Template::Error (undefined method `last_post_at' for #): 28: ago 29: %td 30: = topic.posts.last.user.forum_display_name 31: = time_ago_in_words( topic.posts.last_post_at ) 32: ago mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:413:in `public_send' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:413:in `block in method_missing' mongoid (4.0.0) lib/mongoid/scopable.rb:239:in `with_scope' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:412:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:31:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___3558543211750030505_70297818894540' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:16:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___3558543211750030505_70297818894540' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.9ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:56:54 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (30.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4770ms Completed 200 OK in 54ms (Views: 48.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:56:54 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:56:54 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:56:54 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:56:54 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:56:54 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:56:59 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (30.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7850ms Completed 200 OK in 64ms (Views: 58.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:56:59 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:56:59 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:56:59 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:56:59 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:56:59 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-13 20:57:01 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6430ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6760ms Completed 200 OK in 54ms (Views: 43.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:01 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:01 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:01 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:01 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:01 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000/posts/new" for ::1 at 2015-01-13 20:57:04 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (5.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4890ms Completed 200 OK in 47ms (Views: 37.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:04 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:04 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:04 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:04 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:04 -0500 Started POST "/forums/topics/54b2a3884e65694fb8200000/posts" for ::1 at 2015-01-13 20:57:05 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"xl+JxB3b8R8AyuSv2XYEcEmkm2JB5BD++7yLCNLooTpqqdX56B18xOs1tkC6d9ZBCERQScdWXJCn/XC9DBTrFQ==", "post"=>{"text"=>"sdf"}, "commit"=>"Create Reply", "topic_id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.1520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8550ms Redirected to http://localhost:3000/forums/topics/54b2a3884e65694fb8200000 Completed 302 Found in 12ms Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-13 20:57:05 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5000ms Completed 200 OK in 36ms (Views: 29.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:05 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:05 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:05 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:05 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:05 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:57:09 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.6670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (41.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5100ms Completed 200 OK in 76ms (Views: 70.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:09 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:09 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:09 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:09 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:09 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 20:57:10 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.0560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6530ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (4.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5540ms Completed 200 OK in 37ms (Views: 28.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:10 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:10 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:10 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:10 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:10 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000/posts/new" for ::1 at 2015-01-13 20:57:11 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (3.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5150ms Completed 200 OK in 50ms (Views: 43.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:11 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:11 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:11 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:11 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:11 -0500 Started POST "/forums/topics/54b2a3dd4e65694fb8230000/posts" for ::1 at 2015-01-13 20:57:13 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"4eXilM1GKX0q9HLca5fw11u2FtZRX55mS2647O7tSElNE76pOICkpsELIDMIliLmGlbd/dft0ggXL0NZMBECZg==", "post"=>{"text"=>"sdfsdf"}, "commit"=>"Create Reply", "topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b5ccf94e65696ac9090000'), "text"=>"sdfsdf", "topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-14 01:57:13 UTC, "created_at"=>2015-01-14 01:57:13 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Redirected to http://localhost:3000/forums/topics/54b2a3dd4e65694fb8230000 Completed 302 Found in 26ms Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 20:57:13 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (5.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5700ms Completed 200 OK in 36ms (Views: 28.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:13 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:13 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:13 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:13 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:13 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000/posts/new" for ::1 at 2015-01-13 20:57:14 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.6060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (2.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4700ms Completed 200 OK in 43ms (Views: 32.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:14 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:14 -0500 Started POST "/forums/topics/54b2a3dd4e65694fb8230000/posts" for ::1 at 2015-01-13 20:57:15 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"yL/AxAsBuFsast+G56wKiEiBzo8K8wqiD9rkbLcy6c1kSZz5/sc1gPFNjWmErdi5CWEFpIxBRsxTmx/Zac6j4g==", "post"=>{"text"=>"dsfdsf"}, "commit"=>"Create Reply", "topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8970ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b5ccfb4e65696ac90b0000'), "text"=>"dsfdsf", "topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-14 01:57:15 UTC, "created_at"=>2015-01-14 01:57:15 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8710ms Redirected to http://localhost:3000/forums/topics/54b2a3dd4e65694fb8230000 Completed 302 Found in 15ms Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 20:57:15 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4950ms Completed 200 OK in 40ms (Views: 34.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:15 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:15 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:15 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:15 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:15 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000/posts/new" for ::1 at 2015-01-13 20:57:16 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (3.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4790ms Completed 200 OK in 34ms (Views: 28.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:16 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:16 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:16 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:16 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:16 -0500 Started POST "/forums/topics/54b2a3dd4e65694fb8230000/posts" for ::1 at 2015-01-13 20:57:18 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"vMEH/QHZEJcRiJyl0NLj7vDrP/i3apYKFHUukILdnKcQN1vA9B+dTPp3zkqz0zHfsQv00zHY2mRINNUlXCHWiA==", "post"=>{"text"=>"sdfsdf"}, "commit"=>"Create Reply", "topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b5ccfe4e65696ac90d0000'), "text"=>"sdfsdf", "topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-14 01:57:18 UTC, "created_at"=>2015-01-14 01:57:18 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms Redirected to http://localhost:3000/forums/topics/54b2a3dd4e65694fb8230000 Completed 302 Found in 9ms Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 20:57:18 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (11.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4910ms Completed 200 OK in 42ms (Views: 36.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:18 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:18 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:18 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:18 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:18 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000/posts/new" for ::1 at 2015-01-13 20:57:19 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7250ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (2.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5170ms Completed 200 OK in 38ms (Views: 29.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:19 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:19 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:19 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:19 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:19 -0500 Started POST "/forums/topics/54b2a3dd4e65694fb8230000/posts" for ::1 at 2015-01-13 20:57:21 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"i7wjB4cCAYCx2hOoBsz7IARlTYejHbSHLpx+ubXBkUonSn86csSMW1olQUdlzSkRRYWGrCWv+Oly3YUMaz3bZQ==", "post"=>{"text"=>"sdfdsfsdf"}, "commit"=>"Create Reply", "topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b5cd014e65696ac90f0000'), "text"=>"sdfdsfsdf", "topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-14 01:57:21 UTC, "created_at"=>2015-01-14 01:57:21 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3940ms Redirected to http://localhost:3000/forums/topics/54b2a3dd4e65694fb8230000 Completed 302 Found in 13ms Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 20:57:21 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (11.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (13.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4770ms Completed 200 OK in 58ms (Views: 51.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:21 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:21 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:21 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:21 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:21 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000/posts/new" for ::1 at 2015-01-13 20:57:22 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0420ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (3.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6180ms Completed 200 OK in 38ms (Views: 31.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:22 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:22 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:22 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:22 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:22 -0500 Started POST "/forums/topics/54b2a3dd4e65694fb8230000/posts" for ::1 at 2015-01-13 20:57:24 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"YaINCPwrJSIdRbqTy4FtoMUGN3XtXfgx1ngv0Znh7jjNVFE1Ce2o+fa66HyogL+RhOb8XmvvtF+KOdRkRx2kFw==", "post"=>{"text"=>"sdfsdfsdfsdf"}, "commit"=>"Create Reply", "topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b5cd044e65696ac9110000'), "text"=>"sdfsdfsdfsdf", "topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-14 01:57:24 UTC, "created_at"=>2015-01-14 01:57:24 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.9430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3800ms Redirected to http://localhost:3000/forums/topics/54b2a3dd4e65694fb8230000 Completed 302 Found in 13ms Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 20:57:24 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9330ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (16.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (17.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4500ms Completed 200 OK in 55ms (Views: 45.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:24 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:24 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:24 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:24 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:24 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000/posts/new" for ::1 at 2015-01-13 20:57:24 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (2.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5650ms Completed 200 OK in 36ms (Views: 29.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:25 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:25 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:25 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:25 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:25 -0500 Started POST "/forums/topics/54b2a3dd4e65694fb8230000/posts" for ::1 at 2015-01-13 20:57:26 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"V/2aYPmV79RsI+vHHQ0xM5um4Ue2S3yg0yktBqpWV6L7C8ZdDFNiD4fcuSh+DOMC2kYqbDD5MM6PaNazdKodjQ==", "post"=>{"text"=>"sdfsdfsdfsdfds"}, "commit"=>"Create Reply", "topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7660ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b5cd064e65696ac9130000'), "text"=>"sdfsdfsdfsdfds", "topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-14 01:57:26 UTC, "created_at"=>2015-01-14 01:57:26 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms Redirected to http://localhost:3000/forums/topics/54b2a3dd4e65694fb8230000 Completed 302 Found in 12ms Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 20:57:26 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (18.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (19.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7360ms Completed 200 OK in 52ms (Views: 45.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:26 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:26 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:26 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:26 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:26 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000/posts/new" for ::1 at 2015-01-13 20:57:27 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6430ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (2.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7230ms Completed 200 OK in 39ms (Views: 33.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:27 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:27 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:27 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:27 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:27 -0500 Started POST "/forums/topics/54b2a3dd4e65694fb8230000/posts" for ::1 at 2015-01-13 20:57:29 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"EtttimzRLx5/4OrSDjhtuN/H01qlekMm7cjzwCzLj9C+LTG3mReixZQfuD1tOb+JnicYcSPID0ixiQh18jfF/w==", "post"=>{"text"=>"sfdsdfsdfds"}, "commit"=>"Create Reply", "topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b5cd094e65696ac9150000'), "text"=>"sfdsdfsdfds", "topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-14 01:57:29 UTC, "created_at"=>2015-01-14 01:57:29 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4450ms Redirected to http://localhost:3000/forums/topics/54b2a3dd4e65694fb8230000 Completed 302 Found in 14ms Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 20:57:29 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8020ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (21.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (22.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5840ms Completed 200 OK in 54ms (Views: 45.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:29 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:29 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:29 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:29 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:29 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000/posts/new" for ::1 at 2015-01-13 20:57:30 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (2.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5150ms Completed 200 OK in 52ms (Views: 27.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:30 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:30 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:30 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:30 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:30 -0500 Started POST "/forums/topics/54b2a3dd4e65694fb8230000/posts" for ::1 at 2015-01-13 20:57:31 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"dg2dj8nHQWh1m2kRKQ1jfRF0k4AZRZ2bIc9IY4mgD2Ha+8GyPAHMs55kO/5KDLFMUJRYq5/30fV9jrPWV1xFTg==", "post"=>{"text"=>"sfsdfsdfsdf"}, "commit"=>"Create Reply", "topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b5cd0b4e65696ac9170000'), "text"=>"sfsdfsdfsdf", "topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-14 01:57:31 UTC, "created_at"=>2015-01-14 01:57:31 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.6400ms Redirected to http://localhost:3000/forums/topics/54b2a3dd4e65694fb8230000 Completed 302 Found in 21ms Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 20:57:31 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7390ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (25.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (27.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6130ms Completed 200 OK in 61ms (Views: 52.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:32 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:32 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:32 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:32 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:32 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000/posts/new" for ::1 at 2015-01-13 20:57:32 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (5.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6250ms Completed 200 OK in 35ms (Views: 30.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:32 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:32 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:32 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:32 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:32 -0500 Started POST "/forums/topics/54b2a3dd4e65694fb8230000/posts" for ::1 at 2015-01-13 20:57:34 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"901b3bpXWRrMLn7r98KHFk25rx4jr9xGTi72z0Ae0KxbuwfgT5HUwSfRLASUw1UnDFlkNaUdkCgSbw16nuKagw==", "post"=>{"text"=>"sdfsdfdsfsfdsfs"}, "commit"=>"Create Reply", "topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b5cd0e4e65696ac9190000'), "text"=>"sdfsdfdsfsfdsfs", "topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-14 01:57:34 UTC, "created_at"=>2015-01-14 01:57:34 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 8.0680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4640ms Redirected to http://localhost:3000/forums/topics/54b2a3dd4e65694fb8230000 Completed 302 Found in 17ms Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 20:57:34 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8300ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3090ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (28.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (29.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5410ms Completed 200 OK in 64ms (Views: 56.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:34 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:34 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:34 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:34 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:34 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000/posts/new" for ::1 at 2015-01-13 20:57:35 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.5820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (2.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6260ms Completed 200 OK in 35ms (Views: 26.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:35 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:35 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:35 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:35 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:35 -0500 Started POST "/forums/topics/54b2a3dd4e65694fb8230000/posts" for ::1 at 2015-01-13 20:57:37 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"5Sf89mwwMGrFG5my/EhJyS9Tb22lGEr3AQZViY8ZWmpJ0aDLmfa9sS7ky12fSZv4brOkRiOqBpldR648UeUQRQ==", "post"=>{"text"=>"sfdsfsdfsdfsdfsd"}, "commit"=>"Create Reply", "topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b5cd114e65696ac91b0000'), "text"=>"sfdsfsdfsdfsdfsd", "topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-14 01:57:37 UTC, "created_at"=>2015-01-14 01:57:37 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4830ms Redirected to http://localhost:3000/forums/topics/54b2a3dd4e65694fb8230000 Completed 302 Found in 9ms Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 20:57:37 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7090ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 4.8730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (33.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (35.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4680ms Completed 200 OK in 70ms (Views: 57.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:37 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:37 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:37 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:37 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:37 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000/posts/new" for ::1 at 2015-01-13 20:57:37 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (2.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5000ms Completed 200 OK in 52ms (Views: 46.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:38 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:38 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:38 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:38 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:38 -0500 Started POST "/forums/topics/54b2a3dd4e65694fb8230000/posts" for ::1 at 2015-01-13 20:57:39 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"aS+z2/uwkLlZZe+7WJLvMkyjyjYUNkH4BUSJdMDd1FDF2e/mDnYdYrKavVQ7kz0DDUMBHZKEDZZZBXLBHiGefw==", "post"=>{"text"=>"sdfdsfdsfsdfsdfsdfs"}, "commit"=>"Create Reply", "topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b5cd134e65696ac91d0000'), "text"=>"sdfdsfdsfsdfsdfsdfs", "topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-14 01:57:39 UTC, "created_at"=>2015-01-14 01:57:39 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4790ms Redirected to http://localhost:3000/forums/topics/54b2a3dd4e65694fb8230000 Completed 302 Found in 11ms Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 20:57:39 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9990ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (32.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (33.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5630ms Completed 200 OK in 63ms (Views: 54.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:39 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:39 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:39 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:39 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:39 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000/posts/new" for ::1 at 2015-01-13 20:57:40 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (2.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5130ms Completed 200 OK in 33ms (Views: 25.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:40 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:40 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:40 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:40 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:40 -0500 Started POST "/forums/topics/54b2a3dd4e65694fb8230000/posts" for ::1 at 2015-01-13 20:57:42 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"zLg2nf4+quk5HxPMo+21nIXI5EdtMIJSSyl93l4re1BgTmqgC/gnMtLgQSPA7GetxCgvbOuCzjwXaIZrgNcxfw==", "post"=>{"text"=>"sdfsdfdsfdsfsdf"}, "commit"=>"Create Reply", "topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b5cd164e65696ac91f0000'), "text"=>"sdfsdfdsfdsfsdf", "topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-14 01:57:42 UTC, "created_at"=>2015-01-14 01:57:42 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.9060ms Redirected to http://localhost:3000/forums/topics/54b2a3dd4e65694fb8230000 Completed 302 Found in 11ms Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 20:57:42 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6980ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (34.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (35.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4940ms Completed 200 OK in 72ms (Views: 62.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:42 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:42 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:42 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000/posts/new" for ::1 at 2015-01-13 20:57:48 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (3.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4950ms Completed 200 OK in 43ms (Views: 36.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:49 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:49 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:49 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:49 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:49 -0500 Started POST "/forums/topics/54b2a3dd4e65694fb8230000/posts" for ::1 at 2015-01-13 20:57:50 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"R0mSCHvSNa/m+4OMIa9KhXCcoSKqmRhwM0/XGpmpJV7rv841jhS4dA0E0WNCrpi0MXxqCSwrVB5vDiyvR1VvcQ==", "post"=>{"text"=>"sdfsdfsdfsdffs"}, "commit"=>"Create Reply", "topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b5cd1e4e65696ac9210000'), "text"=>"sdfsdfsdfsdffs", "topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-14 01:57:50 UTC, "created_at"=>2015-01-14 01:57:50 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4290ms Redirected to http://localhost:3000/forums/topics/54b2a3dd4e65694fb8230000 Completed 302 Found in 9ms Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 20:57:50 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7470ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (41.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (44.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4640ms Completed 200 OK in 73ms (Views: 66.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:50 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:50 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:50 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:50 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:50 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000/posts/new" for ::1 at 2015-01-13 20:57:51 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (5.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4790ms Completed 200 OK in 52ms (Views: 46.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:51 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:51 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:51 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:51 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:51 -0500 Started POST "/forums/topics/54b2a3dd4e65694fb8230000/posts" for ::1 at 2015-01-13 20:57:52 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"jUVQzRNv1ANeoIcJHnlGXuJteGHGFPJ3TsSNLiGTHZwhswzw5qlZ2LVf1eZ9eJRvo42zSkCmvhkShXab/29Xsw==", "post"=>{"text"=>"sdfsdfsdfsd"}, "commit"=>"Create Reply", "topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b5cd204e65696ac9230000'), "text"=>"sdfsdfsdfsd", "topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-14 01:57:52 UTC, "created_at"=>2015-01-14 01:57:52 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.8480ms Redirected to http://localhost:3000/forums/topics/54b2a3dd4e65694fb8230000 Completed 302 Found in 11ms Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 20:57:52 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1000ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (40.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (41.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5060ms Completed 200 OK in 71ms (Views: 61.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:52 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:52 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:52 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:52 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:52 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000/posts/new" for ::1 at 2015-01-13 20:57:53 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.1570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (2.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6640ms Completed 200 OK in 33ms (Views: 25.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:53 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:53 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:53 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:53 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:53 -0500 Started POST "/forums/topics/54b2a3dd4e65694fb8230000/posts" for ::1 at 2015-01-13 20:57:55 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"H64QMwOjcNQYTwSANGsEY84QE71NcgcohoYUoviv0H6zWEwO9mX9D/OwVm9XatZSj/DYlsvAS0bax+8XJlOaUQ==", "post"=>{"text"=>"fasdfsadfas"}, "commit"=>"Create Reply", "topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b5cd234e65696ac9250000'), "text"=>"fasdfsadfas", "topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-14 01:57:55 UTC, "created_at"=>2015-01-14 01:57:55 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4470ms Redirected to http://localhost:3000/forums/topics/54b2a3dd4e65694fb8230000 Completed 302 Found in 11ms Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 20:57:55 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7400ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (42.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (44.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5490ms Completed 200 OK in 73ms (Views: 65.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:55 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:55 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:55 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:55 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:55 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000/posts/new" for ::1 at 2015-01-13 20:57:56 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8400ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (2.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5620ms Completed 200 OK in 35ms (Views: 27.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:56 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:56 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:56 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:56 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:56 -0500 Started POST "/forums/topics/54b2a3dd4e65694fb8230000/posts" for ::1 at 2015-01-13 20:57:57 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"FAxMeURdCgroM6t/5UWo+zTBiyrnkNI6dmZu2/BOfxW4+hBEsZuH0QPM+ZCGRHrKdSFAAWEinlQqJ5VuLrI1Og==", "post"=>{"text"=>"sfasdfsafsda"}, "commit"=>"Create Reply", "topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.2660ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b5cd254e65696ac9270000'), "text"=>"sfasdfsafsda", "topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-14 01:57:57 UTC, "created_at"=>2015-01-14 01:57:57 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5240ms Redirected to http://localhost:3000/forums/topics/54b2a3dd4e65694fb8230000 Completed 302 Found in 13ms Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 20:57:57 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8020ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2900ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (44.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (45.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5190ms Completed 200 OK in 96ms (Views: 88.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:57 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:57 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:57 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:57 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:57 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000/posts/new" for ::1 at 2015-01-13 20:57:58 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (2.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4880ms Completed 200 OK in 30ms (Views: 25.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:58 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:58 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:58 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:58 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:58 -0500 Started POST "/forums/topics/54b2a3dd4e65694fb8230000/posts" for ::1 at 2015-01-13 20:57:59 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"lOFXRfZTfgbQf53zVQX/D8TmRBDbsjZlLhNel4M8Mx84Fwt4A5Xz3TuAzxw2BC0+hQaPO10AegtyUqUiXcB5MA==", "post"=>{"text"=>"sadfsadfds"}, "commit"=>"Create Reply", "topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b5cd274e65696ac9290000'), "text"=>"sadfsadfds", "topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-14 01:57:59 UTC, "created_at"=>2015-01-14 01:57:59 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4870ms Redirected to http://localhost:3000/forums/topics/54b2a3dd4e65694fb8230000 Completed 302 Found in 12ms Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 20:57:59 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8760ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (44.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (46.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5250ms Completed 200 OK in 75ms (Views: 67.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:57:59 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:57:59 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:57:59 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:57:59 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:57:59 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000/posts/new" for ::1 at 2015-01-13 20:58:00 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (2.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5130ms Completed 200 OK in 35ms (Views: 28.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:58:00 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:58:00 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:58:00 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:58:00 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:58:00 -0500 Started POST "/forums/topics/54b2a3dd4e65694fb8230000/posts" for ::1 at 2015-01-13 20:58:01 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"3mNmDJ/AXCdZoi00vxkQgfor10GON8mlrM3bBi7SB3dylToxagbR/LJdf9vcGMKwu8scagiFhcvwjCCz8C5NWA==", "post"=>{"text"=>"sfdasdfasd"}, "commit"=>"Create Reply", "topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b5cd294e65696ac92b0000'), "text"=>"sfdasdfasd", "topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-14 01:58:01 UTC, "created_at"=>2015-01-14 01:58:01 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3450ms Redirected to http://localhost:3000/forums/topics/54b2a3dd4e65694fb8230000 Completed 302 Found in 8ms Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 20:58:01 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7930ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (54.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (56.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5430ms Completed 200 OK in 94ms (Views: 85.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:58:02 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:58:02 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:58:02 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:58:02 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:58:02 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000/posts/new" for ::1 at 2015-01-13 20:58:02 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6560ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (2.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5940ms Completed 200 OK in 35ms (Views: 26.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:58:02 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:58:02 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:58:02 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:58:02 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:58:02 -0500 Started POST "/forums/topics/54b2a3dd4e65694fb8230000/posts" for ::1 at 2015-01-13 20:58:04 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"FFB0rYCLbDBTo8ehtyaDRcEjy4Bh1oBPZx+eE2+RkO24piiQdU3h67hclU7UJ1F0gMMAq+dkzCE7XmWmsW3awg==", "post"=>{"text"=>"sfsadfsdf"}, "commit"=>"Create Reply", "topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9550ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b5cd2c4e65696ac92d0000'), "text"=>"sfsadfsdf", "topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-14 01:58:04 UTC, "created_at"=>2015-01-14 01:58:04 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms Redirected to http://localhost:3000/forums/topics/54b2a3dd4e65694fb8230000 Completed 302 Found in 11ms Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 20:58:04 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8750ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (71.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (73.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4580ms Completed 200 OK in 104ms (Views: 95.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:58:04 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:58:04 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:58:04 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:58:04 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:58:04 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000/posts/new" for ::1 at 2015-01-13 20:58:04 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (3.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5180ms Completed 200 OK in 35ms (Views: 30.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:58:04 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:58:04 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:58:04 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:58:04 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:58:04 -0500 Started POST "/forums/topics/54b2a3dd4e65694fb8230000/posts" for ::1 at 2015-01-13 20:58:06 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"mwNxrr0XX7gcYpGmuSLa/5RenJEVJKrJB53eiYHcwdU39S2TSNHSY/edw0naIwjO1b5XupOW5qdb3CU8XyCL+g==", "post"=>{"text"=>"sadfsdfasd"}, "commit"=>"Create Reply", "topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b5cd2e4e65696ac92f0000'), "text"=>"sadfsdfasd", "topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-14 01:58:06 UTC, "created_at"=>2015-01-14 01:58:06 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3590ms Redirected to http://localhost:3000/forums/topics/54b2a3dd4e65694fb8230000 Completed 302 Found in 8ms Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 20:58:06 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2960ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (57.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (59.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4970ms Completed 200 OK in 94ms (Views: 84.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:58:06 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:58:06 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:58:06 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:58:06 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:58:06 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000/posts/new" for ::1 at 2015-01-13 20:58:06 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (4.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5450ms Completed 200 OK in 33ms (Views: 28.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:58:06 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:58:06 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:58:06 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:58:06 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:58:06 -0500 Started POST "/forums/topics/54b2a3dd4e65694fb8230000/posts" for ::1 at 2015-01-13 20:58:08 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"aYexdgky/C6vxNX/HuRd1uZ5kUxhGB6NlpnHZ9o1O2vFce1L/PRx9UQ7hxB95Y/np5laZ+eqUuPK2DzSBMlxRA==", "post"=>{"text"=>"sfsdfasdfasf"}, "commit"=>"Create Reply", "topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b5cd304e65696ac9310000'), "text"=>"sfsdfasdfasf", "topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-14 01:58:08 UTC, "created_at"=>2015-01-14 01:58:08 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4400ms Redirected to http://localhost:3000/forums/topics/54b2a3dd4e65694fb8230000 Completed 302 Found in 9ms Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 20:58:08 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.6450ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (58.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (59.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7240ms Completed 200 OK in 94ms (Views: 83.3ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:58:08 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:58:08 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:58:08 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:58:08 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:58:08 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000/posts/new" for ::1 at 2015-01-13 20:58:08 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (3.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5430ms Completed 200 OK in 54ms (Views: 47.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:58:08 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:58:08 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:58:08 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:58:08 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:58:08 -0500 Started POST "/forums/topics/54b2a3dd4e65694fb8230000/posts" for ::1 at 2015-01-13 20:58:10 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"5Z1ssA3alZVn2R/6XWaC13z0uWL0lMmycwR6GwnyPepJazCN+BwYTowmTRU+Z1DmPRRySXImhdwvRYGu1w53xQ==", "post"=>{"text"=>"sadfsafsdf"}, "commit"=>"Create Reply", "topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6520ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b5cd324e65696ac9330000'), "text"=>"sadfsafsdf", "topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-14 01:58:10 UTC, "created_at"=>2015-01-14 01:58:10 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.9020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Redirected to http://localhost:3000/forums/topics/54b2a3dd4e65694fb8230000 Completed 302 Found in 12ms Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 20:58:10 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.6780ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (59.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (60.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4700ms Completed 200 OK in 92ms (Views: 82.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:58:10 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:58:10 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:58:10 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:58:10 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:58:10 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000/posts/new" for ::1 at 2015-01-13 20:58:10 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1720ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (2.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5440ms Completed 200 OK in 40ms (Views: 31.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:58:10 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:58:10 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:58:10 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:58:10 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:58:10 -0500 Started POST "/forums/topics/54b2a3dd4e65694fb8230000/posts" for ::1 at 2015-01-13 20:58:11 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"BnWo9FChR1EjEHtbLqRtv75iGQcCfjcPhKSFAh/Chuyqg/TJpWfKisjvKbRNpb+O/4LSLITMe2HY5X63wT7Mww==", "post"=>{"text"=>"sdfasdfsd"}, "commit"=>"Create Reply", "topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b5cd334e65696ac9350000'), "text"=>"sdfasdfsd", "topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-14 01:58:11 UTC, "created_at"=>2015-01-14 01:58:11 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7140ms Redirected to http://localhost:3000/forums/topics/54b2a3dd4e65694fb8230000 Completed 302 Found in 9ms Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 20:58:11 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9250ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (72.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (74.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4920ms Completed 200 OK in 107ms (Views: 97.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:58:12 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:58:12 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:58:12 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:58:12 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:58:12 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000/posts/new" for ::1 at 2015-01-13 20:58:13 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (3.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6080ms Completed 200 OK in 38ms (Views: 31.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:58:13 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:58:13 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:58:13 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:58:13 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:58:13 -0500 Started POST "/forums/topics/54b2a3dd4e65694fb8230000/posts" for ::1 at 2015-01-13 20:58:14 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"F1gdfTkf1wPLYmXu0Wp/tLzwwWlcK95P+Chh0aJCEW+7rkFAzNla2CCdNwGya62F/RAKQtqZkiGkaZpkfL5bQA==", "post"=>{"text"=>"sadfasfsd"}, "commit"=>"Create Reply", "topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b5cd364e65696ac9370000'), "text"=>"sadfasfsd", "topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-14 01:58:14 UTC, "created_at"=>2015-01-14 01:58:14 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.8250ms Redirected to http://localhost:3000/forums/topics/54b2a3dd4e65694fb8230000 Completed 302 Found in 13ms Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 20:58:14 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2290ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 17.9290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5940ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (86.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (87.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4970ms Completed 200 OK in 121ms (Views: 112.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:58:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:58:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:58:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:58:14 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:58:14 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000/posts/new" for ::1 at 2015-01-13 20:58:15 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (2.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (5.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Completed 200 OK in 34ms (Views: 28.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:58:15 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:58:15 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:58:15 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:58:15 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:58:15 -0500 Started POST "/forums/topics/54b2a3dd4e65694fb8230000/posts" for ::1 at 2015-01-13 20:58:16 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"3wwHYf8qpoV2ouUgyXJ7L0tfrtDp8yGEDGPLj3BoFbdz+ltcCuwrXp1dt8+qc6keCr9l+29BbepQIjA6rpRfmA==", "post"=>{"text"=>"asfdsdfsda"}, "commit"=>"Create Reply", "topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b5cd384e65696ac9390000'), "text"=>"asfdsdfsda", "topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-14 01:58:16 UTC, "created_at"=>2015-01-14 01:58:16 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4950ms Redirected to http://localhost:3000/forums/topics/54b2a3dd4e65694fb8230000 Completed 302 Found in 11ms Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 20:58:16 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9760ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (70.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (71.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5030ms Completed 200 OK in 101ms (Views: 92.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:58:16 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:58:16 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:58:16 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:58:16 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:58:16 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:58:48 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6080ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (31.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Completed 200 OK in 61ms (Views: 53.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:58:48 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:58:48 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:58:48 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:58:48 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:58:48 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 20:58:50 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.2970ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5730ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.9ms) Completed 500 Internal Server Error in 17ms ActionView::Template::Error (undefined method `current_page' for nil:NilClass): 4: = link_to "Edit topic", edit_topic_path(@topic) 5: %br 6: %br 7: = paginate @users 8: = render @posts kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:7:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__801654247636294827_70297819502060' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.2ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:58:52 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (34.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6150ms Completed 200 OK in 67ms (Views: 62.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:58:52 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:58:52 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:58:52 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:58:52 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:58:52 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 20:59:00 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (28.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4750ms Completed 200 OK in 56ms (Views: 51.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 20:59:00 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 20:59:00 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 20:59:00 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 20:59:00 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 20:59:00 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 20:59:05 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.5190ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7790ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.6ms) Completed 500 Internal Server Error in 19ms ActionView::Template::Error (undefined method `current_page' for nil:NilClass): 4: = link_to "Edit topic", edit_topic_path(@topic) 5: %br 6: %br 7: = paginate @users 8: = render @posts kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:7:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__801654247636294827_70297819502060' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.7ms) Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 20:59:18 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3960ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5820ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (3.2ms) Completed 500 Internal Server Error in 16ms ActionView::Template::Error (undefined method `current_page' for #): 4: = link_to "Edit topic", edit_topic_path(@topic) 5: %br 6: %br 7: = paginate @posts 8: = render @posts kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:7:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__801654247636294827_70297778784680' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.4ms) Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 20:59:19 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8920ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5120ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (4.3ms) Completed 500 Internal Server Error in 16ms ActionView::Template::Error (undefined method `current_page' for #): 4: = link_to "Edit topic", edit_topic_path(@topic) 5: %br 6: %br 7: = paginate @posts 8: = render @posts kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:7:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__801654247636294827_70297778784680' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.3ms) Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 21:01:08 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6990ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6130ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}} runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.8210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (63.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (91.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6220ms Completed 200 OK in 183ms (Views: 121.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 21:01:08 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 21:01:08 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 21:01:08 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 21:01:08 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 21:01:08 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000?page=2" for ::1 at 2015-01-13 21:01:10 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"page"=>"2", "id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4700ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}} runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=20 batch_size=nil fields=nil runtime: 0.8620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (19.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (43.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6120ms Completed 200 OK in 100ms (Views: 67.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 21:01:10 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 21:01:10 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 21:01:10 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 21:01:10 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 21:01:10 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 21:01:12 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5520ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}} runtime: 1.1270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.9960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (54.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (66.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Completed 200 OK in 98ms (Views: 92.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 21:01:12 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 21:01:12 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 21:01:12 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 21:01:12 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 21:01:12 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 21:01:33 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4660ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}} runtime: 0.6300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.9550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (50.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (64.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5780ms Completed 200 OK in 96ms (Views: 89.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 21:01:33 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 21:01:33 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 21:01:33 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 21:01:33 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 21:01:33 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 21:01:39 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6720ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}} runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.6010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (54.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (67.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4670ms Completed 200 OK in 98ms (Views: 92.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 21:01:39 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 21:01:39 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 21:01:39 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 21:01:39 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 21:01:39 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 21:01:42 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5120ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}} runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.6180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (54.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (93.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5310ms Completed 200 OK in 123ms (Views: 116.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 21:01:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 21:01:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 21:01:42 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 21:01:42 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 21:01:42 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 21:01:43 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2960ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4600ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}} runtime: 0.7650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (55.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (67.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4690ms Completed 200 OK in 95ms (Views: 90.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 21:01:43 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 21:01:43 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 21:01:43 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 21:01:43 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 21:01:43 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 21:01:48 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.1180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7250ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (46.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5300ms Completed 200 OK in 100ms (Views: 81.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 21:01:48 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 21:01:48 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 21:01:48 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 21:01:48 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 21:01:48 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 21:49:27 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 5.2900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 5.7840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 7.0080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.9010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (100.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5010ms Completed 200 OK in 229ms (Views: 160.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 21:49:27 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 21:49:27 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 21:49:27 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 21:49:27 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 21:49:27 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 21:55:53 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.0830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (41.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5700ms Completed 200 OK in 151ms (Views: 110.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 21:55:53 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 21:55:53 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 21:55:53 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 21:55:53 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 21:55:53 -0500 Started GET "/subscriptions/" for ::1 at 2015-01-13 21:56:03 -0500 ActionController::RoutingError (No route matches [GET] "/subscriptions"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (54.4ms) Started GET "/subscriptions/" for ::1 at 2015-01-13 21:56:23 -0500 ActionController::RoutingError (No route matches [GET] "/subscriptions"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (50.1ms) Started GET "/forums/subscriptions/" for ::1 at 2015-01-13 21:56:31 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"subscriptions"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>"subscriptions"} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms Completed 404 Not Found in 5ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) subscriptions. Summary: When calling MongoidForums::Forum.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): subscriptions ... (1 total) and the following ids were not found: subscriptions. Resolution: Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.): mongoid (4.0.0) lib/mongoid/criteria.rb:475:in `check_for_missing_documents!' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:20:in `execute_or_raise' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:40:in `find' mongoid (4.0.0) lib/mongoid/findable.rb:90:in `find' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:10:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (21.8ms) Started GET "/forums/subscriptions/" for ::1 at 2015-01-13 21:57:56 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"subscriptions"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>"subscriptions"} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4540ms Completed 404 Not Found in 33ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) subscriptions. Summary: When calling MongoidForums::Forum.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): subscriptions ... (1 total) and the following ids were not found: subscriptions. Resolution: Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.): mongoid (4.0.0) lib/mongoid/criteria.rb:475:in `check_for_missing_documents!' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:20:in `execute_or_raise' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:40:in `find' mongoid (4.0.0) lib/mongoid/findable.rb:90:in `find' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:10:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (25.3ms) Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-13 21:59:03 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.1580ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}} runtime: 0.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (77.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (103.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6520ms Completed 200 OK in 180ms (Views: 132.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 21:59:03 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 21:59:03 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 21:59:03 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 21:59:03 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 21:59:03 -0500 Started GET "/subscriptions" for ::1 at 2015-01-13 21:59:10 -0500 ActionController::RoutingError (No route matches [GET] "/subscriptions"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (47.9ms) Started GET "/forums/subscriptions" for ::1 at 2015-01-13 21:59:14 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"subscriptions"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>"subscriptions"} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5010ms Completed 404 Not Found in 13ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) subscriptions. Summary: When calling MongoidForums::Forum.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): subscriptions ... (1 total) and the following ids were not found: subscriptions. Resolution: Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.): mongoid (4.0.0) lib/mongoid/criteria.rb:475:in `check_for_missing_documents!' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:20:in `execute_or_raise' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:40:in `find' mongoid (4.0.0) lib/mongoid/findable.rb:90:in `find' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:10:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (20.7ms) Started GET "/forums/subscriptions" for ::1 at 2015-01-13 21:59:23 -0500 Processing by MongoidForums::RedirectController#forum as HTML Parameters: {"forum_id"=>"subscriptions"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms Redirected to http://localhost:3000/subscriptions Completed 302 Found in 23ms Started GET "/subscriptions" for ::1 at 2015-01-13 21:59:23 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"subscriptions"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>"subscriptions"} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4230ms Completed 404 Not Found in 10ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) subscriptions. Summary: When calling MongoidForums::Forum.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): subscriptions ... (1 total) and the following ids were not found: subscriptions. Resolution: Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.): mongoid (4.0.0) lib/mongoid/criteria.rb:475:in `check_for_missing_documents!' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:20:in `execute_or_raise' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:40:in `find' mongoid (4.0.0) lib/mongoid/findable.rb:90:in `find' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:10:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (16.8ms) Started GET "/subscriptions" for ::1 at 2015-01-13 21:59:24 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"subscriptions"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>"subscriptions"} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3790ms Completed 404 Not Found in 5ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) subscriptions. Summary: When calling MongoidForums::Forum.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): subscriptions ... (1 total) and the following ids were not found: subscriptions. Resolution: Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.): mongoid (4.0.0) lib/mongoid/criteria.rb:475:in `check_for_missing_documents!' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:20:in `execute_or_raise' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:40:in `find' mongoid (4.0.0) lib/mongoid/findable.rb:90:in `find' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:10:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (15.2ms) Started GET "/subscriptions" for ::1 at 2015-01-13 21:59:29 -0500 ActionController::RoutingError (No route matches [GET] "/subscriptions"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (61.3ms) Started GET "/subscriptions" for ::1 at 2015-01-13 21:59:49 -0500 ActionController::RoutingError (No route matches [GET] "/subscriptions"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (49.7ms) Started GET "/forums/subscriptions" for ::1 at 2015-01-13 21:59:54 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"subscriptions"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>"subscriptions"} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3510ms Completed 404 Not Found in 29ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) subscriptions. Summary: When calling MongoidForums::Forum.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): subscriptions ... (1 total) and the following ids were not found: subscriptions. Resolution: Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.): mongoid (4.0.0) lib/mongoid/criteria.rb:475:in `check_for_missing_documents!' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:20:in `execute_or_raise' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:40:in `find' mongoid (4.0.0) lib/mongoid/findable.rb:90:in `find' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:10:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (16.6ms) Started GET "/forums/subscriptions" for ::1 at 2015-01-13 22:00:12 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"subscriptions"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>"subscriptions"} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4200ms Completed 404 Not Found in 29ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) subscriptions. Summary: When calling MongoidForums::Forum.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): subscriptions ... (1 total) and the following ids were not found: subscriptions. Resolution: Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.): mongoid (4.0.0) lib/mongoid/criteria.rb:475:in `check_for_missing_documents!' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:20:in `execute_or_raise' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:40:in `find' mongoid (4.0.0) lib/mongoid/findable.rb:90:in `find' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:10:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (16.4ms) Started GET "/forums/subscriptions" for ::1 at 2015-01-13 22:00:46 -0500 Processing by MongoidForums::RedirectController#subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7700ms Redirected to http://localhost:3000/forums/my_subscriptions Completed 302 Found in 25ms Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:00:46 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-01-13 22:00:46 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4680ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (26.0ms) Completed 500 Internal Server Error in 35ms ActionView::Template::Error (undefined method `forum_path' for #<#:0x007ffb37b9c758>): 14: - category.forums.each do |forum| 15: %tr 16: %td 17: = link_to forum.name, forum 18: %td 19: - unless forum.topics.last.nil? 20: - last_post = forum.topics.select {|topic| !topic.hidden }.last.posts.last actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:268:in `handle_model_call' actionview (4.2.0) lib/action_view/routing_url_for.rb:113:in `url_for' actionview (4.2.0) lib/action_view/helpers/url_helper.rb:181:in `link_to' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:17:in `block (2 levels) in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__409058672111228646_70358474191780' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:165:in `block in each' mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:184:in `block in each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:181:in `each' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:165:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:14:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__409058672111228646_70358474191780' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__409058672111228646_70358474191780' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (12.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (28.8ms) Started GET "/forums/" for ::1 at 2015-01-13 22:01:04 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (34.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4470ms Completed 200 OK in 82ms (Views: 56.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:01:05 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:01:05 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:01:05 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:01:05 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:01:05 -0500 Started GET "/forums/subscriptions" for ::1 at 2015-01-13 22:01:08 -0500 Processing by MongoidForums::RedirectController#subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms Redirected to http://localhost:3000/forums/my_subscriptions Completed 302 Found in 3ms Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:01:08 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-01-13 22:01:08 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (8.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4780ms Completed 200 OK in 32ms (Views: 28.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:01:08 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:01:08 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:01:08 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:01:08 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:01:08 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 22:01:13 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (38.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4660ms Completed 200 OK in 100ms (Views: 62.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:01:13 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:01:13 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:01:13 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:01:13 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:01:13 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 22:02:02 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (43.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6180ms Completed 200 OK in 115ms (Views: 72.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:02:03 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:02:03 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:02:03 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:02:03 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:02:03 -0500 Started GET "/forums/subscriptions" for ::1 at 2015-01-13 22:02:07 -0500 Processing by MongoidForums::RedirectController#subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms Redirected to http://localhost:3000/forums/my_subscriptions Completed 302 Found in 5ms Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:02:07 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms Started GET "/forums/" for ::1 at 2015-01-13 22:02:07 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (9.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6320ms Completed 200 OK in 35ms (Views: 32.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:02:07 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:02:07 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:02:07 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:02:07 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:02:07 -0500 Started GET "/forums/" for ::1 at 2015-01-13 22:02:09 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (33.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5830ms Completed 200 OK in 92ms (Views: 64.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:02:10 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:02:10 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:02:10 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:02:10 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:02:10 -0500 Started GET "/forums/subscriptions" for ::1 at 2015-01-13 22:02:11 -0500 Processing by MongoidForums::RedirectController#subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms Redirected to http://localhost:3000/forums/my_subscriptions Completed 302 Found in 3ms Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:02:11 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7150ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 6ms Started GET "/forums/" for ::1 at 2015-01-13 22:02:11 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (9.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4690ms Completed 200 OK in 46ms (Views: 42.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:02:12 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:02:12 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:02:12 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:02:12 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:02:12 -0500 Started GET "/forums/" for ::1 at 2015-01-13 22:03:01 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (32.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4700ms Completed 200 OK in 88ms (Views: 58.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:03:01 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:03:01 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:03:01 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:03:01 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:03:01 -0500 Started GET "/forums/subscriptions" for ::1 at 2015-01-13 22:03:03 -0500 Processing by MongoidForums::RedirectController#subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms Redirected to http://localhost:3000/forums/my_subscriptions Completed 302 Found in 4ms Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:03:03 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (3.0ms) Completed 500 Internal Server Error in 24ms ActionView::Template::Error (undefined method `current_page' for #): 1: = pagination = paginate @subscriptions mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:1:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358459083720' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (17.3ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:03:31 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2970ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (0.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0150ms Completed 200 OK in 36ms (Views: 27.2ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:03:31 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:03:31 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:03:31 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:03:31 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:03:31 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:03:33 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8550ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.7ms) Completed 500 Internal Server Error in 14ms ActionView::Template::Error (undefined method `current_page' for #): 1: = paginate @subscriptions mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:1:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358425491460' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.8ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:04:01 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.8ms) Completed 500 Internal Server Error in 13ms ActionView::Template::Error (undefined method `current_page' for #): 1: = pagination = paginate @subscriptions mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:1:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358474813540' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (17.3ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:05:43 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.1ms) Completed 500 Internal Server Error in 58ms ActionView::Template::Error (undefined method `current_page' for #): 1: = pagination = paginate @subscriptions mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:1:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358474813540' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.7ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:05:44 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5960ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.1ms) Completed 500 Internal Server Error in 18ms ActionView::Template::Error (undefined method `current_page' for #): 1: = pagination = paginate @subscriptions mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:1:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358474813540' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.9ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:09:07 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.1ms) Completed 500 Internal Server Error in 54ms ActionView::Template::Error (undefined method `current_page' for #): 1: = pagination = paginate @subscriptions mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:1:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358474813540' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.1ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:09:57 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (4.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5520ms Completed 200 OK in 76ms (Views: 28.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:09:57 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:09:57 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:09:57 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:09:57 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:09:57 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:09:58 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3140ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5460ms Completed 200 OK in 74ms (Views: 59.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:09:58 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:09:58 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:09:58 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:09:58 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:09:58 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:10:04 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (2.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5140ms Completed 200 OK in 30ms (Views: 21.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:10:05 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:10:05 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:10:05 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:10:05 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:10:05 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:10:08 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2820ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5640ms Completed 200 OK in 33ms (Views: 23.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:10:08 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:10:08 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:10:08 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:10:08 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:10:08 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:10:20 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (2.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5130ms Completed 200 OK in 44ms (Views: 33.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:10:20 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:10:20 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:10:20 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:10:20 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:10:20 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:10:25 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (2.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5260ms Completed 200 OK in 38ms (Views: 28.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:10:25 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:10:25 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:10:25 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:10:25 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:10:25 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:10:27 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6070ms Completed 200 OK in 43ms (Views: 31.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:10:27 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:10:27 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:10:27 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:10:27 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:10:27 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-13 22:10:32 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6440ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (41.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6450ms Completed 200 OK in 122ms (Views: 70.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:10:33 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:10:33 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:10:33 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:10:33 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:10:33 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-13 22:10:34 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (65.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5440ms Completed 200 OK in 102ms (Views: 95.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:10:35 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:10:35 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:10:35 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:10:35 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:10:35 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-13 22:10:37 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"tSmIIrW6ZsKgsM6EtQshsBPY07LtgDWPArprn0xBeEAZ39QfQHzrGUtPnGvWCvOBUjgYmWsyeeFe+5Aqkr0ybw==", "topic"=>{"name"=>"fdg", "posts"=>{"text"=>"dfg"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 4.2280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6950ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"fdg", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 03:10:37 UTC, "created_at"=>2015-01-14 03:10:37 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.2620ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.6420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe030000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 03:10:37 UTC, "created_at"=>2015-01-14 03:10:37 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe020000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"dfg", "topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000'), "updated_at"=>2015-01-14 03:10:37 UTC, "created_at"=>2015-01-14 03:10:37 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 2.4760ms Redirected to http://localhost:3000/forums/topics/54b5de2d4e65696fbe010000 Completed 302 Found in 33ms Started GET "/forums/topics/54b5de2d4e65696fbe010000" for ::1 at 2015-01-13 22:10:37 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b5de2d4e65696fbe010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4900ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}} runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5040ms Completed 200 OK in 40ms (Views: 33.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:10:37 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:10:37 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:10:37 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:10:37 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:10:37 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:10:44 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5460ms Completed 200 OK in 38ms (Views: 27.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:10:44 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:10:44 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:10:44 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:10:44 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:10:44 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:10:44 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4850ms Completed 200 OK in 69ms (Views: 57.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:10:45 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:10:45 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:10:45 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:10:45 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:10:45 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:10:45 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3030ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (2.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5300ms Completed 200 OK in 41ms (Views: 31.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:10:45 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:10:45 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:10:45 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:10:45 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:10:45 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:10:45 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (2.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6910ms Completed 200 OK in 40ms (Views: 27.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:10:45 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:10:45 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:10:45 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:10:45 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:10:45 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:11:35 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (3.3ms) Completed 500 Internal Server Error in 18ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = pagination = paginate @subscriptions mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358429031000' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (24.0ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:11:40 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1800ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (3.5ms) Completed 500 Internal Server Error in 18ms ActionView::Template::Error (undefined method `current_page' for nil:NilClass): 1: %h2 Your subscriptions 2: = pagination = paginate @subscriptions2 kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358465708640' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (4.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (25.8ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:11:50 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (0.9ms) Completed 500 Internal Server Error in 52ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = pagination = paginate @subscriptions2 mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358465708640' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (44.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (61.2ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:12:00 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.7ms) Completed 500 Internal Server Error in 58ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = pagination = paginate @subscriptions mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358481846420' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.4ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:15:18 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6280ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}} runtime: 0.5610ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (3.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5230ms Completed 200 OK in 68ms (Views: 41.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:15:18 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:15:18 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:15:18 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:15:18 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:15:18 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:15:29 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}} runtime: 0.5460ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (3.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4500ms Completed 200 OK in 37ms (Views: 31.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:15:29 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:15:29 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:15:29 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:15:29 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:15:29 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:15:45 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}} runtime: 0.6850ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}} runtime: 0.4430ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (4.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4810ms Completed 200 OK in 60ms (Views: 27.9ms) Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:15:46 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:15:46 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:15:46 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:15:46 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:15:46 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:15:52 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8290ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}} runtime: 0.5320ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}} runtime: 0.4880ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (5.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5550ms Completed 200 OK in 33ms (Views: 29.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:15:52 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:15:52 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:15:52 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:15:52 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:15:52 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:15:53 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}} runtime: 0.4770ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}} runtime: 0.5990ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (3.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6570ms Completed 200 OK in 122ms (Views: 117.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:15:53 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:15:53 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:15:53 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:15:53 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:15:53 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:16:51 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7510ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}} runtime: 0.6340ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}} runtime: 0.4170ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (3.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4890ms Completed 200 OK in 67ms (Views: 30.0ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:16:51 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:16:51 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:16:51 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:16:51 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:16:51 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:17:12 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}} runtime: 0.6200ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}} runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5860ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (7.5ms) Completed 500 Internal Server Error in 14ms ActionView::Template::Error (undefined method `name' for #): 2: = paginate @subscriptions 3: = @subscriptions.count 4: - @subscriptions.each do |sub| 5: = sub.name /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:5:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358432626540' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:4:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358432626540' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (24.4ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:17:22 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}} runtime: 1.0510ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}} runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6720ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (7.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5290ms Completed 200 OK in 40ms (Views: 35.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:17:23 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:17:23 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:17:23 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:17:23 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:17:23 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:17:36 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}} runtime: 0.5540ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}} runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5590ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (5.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6190ms Completed 200 OK in 36ms (Views: 30.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:17:36 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:17:36 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:17:36 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:17:36 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:17:36 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:17:58 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6290ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}} runtime: 0.5380ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}} runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5700ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (4.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8910ms Completed 200 OK in 106ms (Views: 72.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:17:58 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:17:58 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:17:58 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:17:58 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:17:58 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:18:18 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6800ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{}} runtime: 0.6680ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{}} runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (5.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5020ms Completed 200 OK in 69ms (Views: 34.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:18:18 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:18:18 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:18:18 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:18:18 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:18:18 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:18:35 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6550ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}} runtime: 0.5540ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (4.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5040ms Completed 200 OK in 104ms (Views: 28.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:18:35 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:18:35 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:18:35 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:18:35 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:18:35 -0500 Started GET "/forums/subscriptions/" for ::1 at 2015-01-13 22:19:38 -0500 Processing by MongoidForums::RedirectController#subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6390ms Redirected to http://localhost:3000/forums/my_subscriptions Completed 302 Found in 32ms Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:19:38 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms Completed 500 Internal Server Error in 14ms NameError (undefined local variable or method `subscriptions' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:37:in `my_subscriptions' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (24.7ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:19:39 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms Completed 500 Internal Server Error in 9ms NameError (undefined local variable or method `subscriptions' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:37:in `my_subscriptions' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (26.1ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:19:47 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6090ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.1ms) Completed 500 Internal Server Error in 41ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = paginate @subscriptions mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358472446760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (24.8ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:20:18 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6160ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (0.7ms) Completed 500 Internal Server Error in 34ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = paginate @subscriptions mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358472446760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (25.6ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:20:40 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7350ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (0.8ms) Completed 500 Internal Server Error in 40ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = paginate @subscriptions mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358472446760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.4ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:20:41 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4760ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.4ms) Completed 500 Internal Server Error in 9ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = paginate @subscriptions mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358472446760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.2ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:20:42 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0480ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.0ms) Completed 500 Internal Server Error in 9ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = paginate @subscriptions mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358472446760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (60.6ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:20:47 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6970ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (0.9ms) Completed 500 Internal Server Error in 39ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = paginate @subscriptions mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358472446760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.6ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:20:49 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (0.8ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = paginate @subscriptions mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358472446760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.7ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:21:59 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5130ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.0ms) Completed 500 Internal Server Error in 44ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = paginate @subscriptions mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358472446760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.4ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:22:00 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6780ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (0.8ms) Completed 500 Internal Server Error in 12ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = paginate @subscriptions mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358472446760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.0ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:22:50 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7610ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.1ms) Completed 500 Internal Server Error in 42ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = paginate @subscriptions mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358472446760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.8ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:23:56 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5830ms Completed 500 Internal Server Error in 34ms NoMethodError (undefined method `aggregate' for #): mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:37:in `my_subscriptions' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (16.2ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:24:12 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms Completed 500 Internal Server Error in 31ms NoMethodError (undefined method `aggregate' for #): mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:37:in `my_subscriptions' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (20.7ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:24:16 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6160ms Completed 500 Internal Server Error in 32ms NoMethodError (undefined method `aggregate' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:37:in `my_subscriptions' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (21.2ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:24:21 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6630ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (0.9ms) Completed 500 Internal Server Error in 39ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = paginate @subscriptions mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358472446760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.8ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:25:20 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7240ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (0.8ms) Completed 500 Internal Server Error in 40ms ActionView::Template::Error (undefined method `current_page' for nil:NilClass): 1: %h2 Your subscriptions 2: = paginate @subscriptions kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358472446760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (24.4ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:25:42 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{}} runtime: 0.5650ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (12.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5460ms Completed 200 OK in 75ms (Views: 43.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:25:43 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:25:43 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:25:43 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:25:43 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:25:43 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:25:54 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6700ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (0.8ms) Completed 500 Internal Server Error in 38ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = paginate @paginatable_array mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358429685240' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.9ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:26:12 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6420ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (2.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8330ms Completed 200 OK in 31ms (Views: 25.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:26:12 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:26:12 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:26:12 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:26:12 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:26:12 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:26:31 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5630ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (2.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4680ms Completed 200 OK in 25ms (Views: 20.6ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:26:31 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:26:31 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:26:31 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:26:31 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:26:31 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:26:36 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4510ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (2.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5750ms Completed 200 OK in 27ms (Views: 23.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:26:36 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:26:36 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:26:36 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:26:36 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:26:36 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:27:51 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms Completed 500 Internal Server Error in 43ms NameError (undefined local variable or method `forem_user' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:36:in `my_subscriptions' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (19.3ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:27:57 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6550ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}} runtime: 0.5560ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (0.7ms) Completed 500 Internal Server Error in 41ms ActionView::Template::Error (undefined method `each' for nil:NilClass): 1: %h2 Your subscriptions 2: - @paginatable_array.each do |x| 3: = x.subscriber_id 4: = @paginatable_array.class.to_s /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358484068220' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (15.7ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:28:09 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}} runtime: 0.3350ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (96.6ms) Completed 500 Internal Server Error in 103ms ActionView::Template::Error (undefined method `current_page' for nil:NilClass): 1: %h2 Your subscriptions 2: = paginate @paginatable_array kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358484053000' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.0ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:28:13 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}} runtime: 0.4870ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}} runtime: 0.6310ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (3.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4660ms Completed 200 OK in 32ms (Views: 27.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 22:28:13 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 22:28:13 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 22:28:13 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 22:28:13 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 22:28:13 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:29:33 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.7ms) Completed 500 Internal Server Error in 60ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = paginate @subscriptions mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358476176280' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.3ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:29:47 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3000ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (0.8ms) Completed 500 Internal Server Error in 56ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = paginate @subscriptions mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358476176280' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (16.4ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 22:29:48 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3140ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.6ms) Completed 500 Internal Server Error in 15ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = paginate @subscriptions mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358476176280' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (15.9ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 23:38:45 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.1970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 4.7550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.4ms) Completed 500 Internal Server Error in 71ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = paginate @subscriptions mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358476176280' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.7ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 23:38:46 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.4ms) Completed 500 Internal Server Error in 22ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = paginate @subscriptions mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___496115952397454493_70358476176280' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.7ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 23:45:44 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.9140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (7.4ms) Completed 500 Internal Server Error in 105ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = paginate @subscriptions mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___3845353149899360805_70356178385760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (27.9ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 23:45:44 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.0ms) Completed 500 Internal Server Error in 15ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = paginate @subscriptions mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' kaminari (0.16.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___3845353149899360805_70356178385760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.4ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 23:48:30 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (5.9ms) Completed 500 Internal Server Error in 73ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = paginate @subscriptions mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' kaminari (0.15.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365832127900' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.7ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 23:49:50 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 10.5770ms Completed 500 Internal Server Error in 59ms NoMethodError (undefined method `page' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:36:in `my_subscriptions' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (27.5ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 23:49:51 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.4500ms Completed 500 Internal Server Error in 11ms NoMethodError (undefined method `page' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:36:in `my_subscriptions' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (19.4ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 23:49:51 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1430ms Completed 500 Internal Server Error in 5ms NoMethodError (undefined method `page' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:36:in `my_subscriptions' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (17.5ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 23:50:28 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6330ms Completed 500 Internal Server Error in 31ms NoMethodError (undefined method `__sort_option__' for :text:Symbol): origin (2.1.1) lib/origin/optional.rb:173:in `block (2 levels) in order_by' origin (2.1.1) lib/origin/optional.rb:172:in `each' origin (2.1.1) lib/origin/optional.rb:172:in `block in order_by' origin (2.1.1) lib/origin/optional.rb:314:in `block in option' origin (2.1.1) lib/origin/optional.rb:312:in `tap' origin (2.1.1) lib/origin/optional.rb:312:in `option' origin (2.1.1) lib/origin/optional.rb:171:in `order_by' (eval):2:in `order' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:36:in `my_subscriptions' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (17.6ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 23:50:33 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7480ms Completed 500 Internal Server Error in 33ms NoMethodError (undefined method `__sort_option__' for :created_at:Symbol): origin (2.1.1) lib/origin/optional.rb:173:in `block (2 levels) in order_by' origin (2.1.1) lib/origin/optional.rb:172:in `each' origin (2.1.1) lib/origin/optional.rb:172:in `block in order_by' origin (2.1.1) lib/origin/optional.rb:314:in `block in option' origin (2.1.1) lib/origin/optional.rb:312:in `tap' origin (2.1.1) lib/origin/optional.rb:312:in `option' origin (2.1.1) lib/origin/optional.rb:171:in `order_by' (eval):2:in `order' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:36:in `my_subscriptions' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (17.8ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 23:50:42 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms Completed 500 Internal Server Error in 29ms NoMethodError (undefined method `to_direction' for nil:NilClass): origin (2.1.1) lib/origin/extensions/string.rb:57:in `block (2 levels) in __sort_option__' origin (2.1.1) lib/origin/extensions/string.rb:55:in `tap' origin (2.1.1) lib/origin/extensions/string.rb:55:in `block in __sort_option__' origin (2.1.1) lib/origin/extensions/string.rb:54:in `each' origin (2.1.1) lib/origin/extensions/string.rb:54:in `inject' origin (2.1.1) lib/origin/extensions/string.rb:54:in `__sort_option__' origin (2.1.1) lib/origin/optional.rb:173:in `block (2 levels) in order_by' origin (2.1.1) lib/origin/optional.rb:172:in `each' origin (2.1.1) lib/origin/optional.rb:172:in `block in order_by' origin (2.1.1) lib/origin/optional.rb:314:in `block in option' origin (2.1.1) lib/origin/optional.rb:312:in `tap' origin (2.1.1) lib/origin/optional.rb:312:in `option' origin (2.1.1) lib/origin/optional.rb:171:in `order_by' (eval):2:in `order' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:36:in `my_subscriptions' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (23.0ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 23:50:50 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7090ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{}} runtime: 8.7630ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (40.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.7710ms Completed 200 OK in 126ms (Views: 91.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 23:50:50 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 23:50:50 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 23:50:50 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 23:50:50 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 23:50:50 -0500 Started GET "/forums/my_subscriptions?page=2" for ::1 at 2015-01-13 23:50:52 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"2"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{}} runtime: 1.0760ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (10.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6470ms Completed 200 OK in 38ms (Views: 33.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 23:50:52 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 23:50:52 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 23:50:52 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 23:50:52 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 23:50:52 -0500 Started GET "/forums/my_subscriptions?page=2" for ::1 at 2015-01-13 23:50:58 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"2"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{}} runtime: 0.6470ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (7.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9970ms Completed 200 OK in 36ms (Views: 30.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 23:50:58 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 23:50:58 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 23:50:58 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 23:50:58 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 23:50:58 -0500 Started GET "/forums/my_subscriptions?page=2" for ::1 at 2015-01-13 23:50:59 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"2"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{}} runtime: 0.4640ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (10.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4440ms Completed 200 OK in 35ms (Views: 31.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 23:50:59 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 23:50:59 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 23:50:59 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 23:50:59 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 23:50:59 -0500 Started GET "/forums/my_subscriptions?page=2" for ::1 at 2015-01-13 23:51:00 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"2"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{}} runtime: 0.3780ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (9.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5570ms Completed 200 OK in 36ms (Views: 31.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 23:51:00 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 23:51:00 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 23:51:00 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 23:51:00 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 23:51:00 -0500 Started GET "/forums/my_subscriptions?page=2" for ::1 at 2015-01-13 23:51:21 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"2"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.3ms) Completed 500 Internal Server Error in 60ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = paginate @subscriptions kaminari (0.15.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365832127900' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (25.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (42.3ms) Started GET "/forums/my_subscriptions?page=2" for ::1 at 2015-01-13 23:51:29 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"2"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.2ms) Completed 500 Internal Server Error in 53ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = paginate @subscriptions kaminari (0.15.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365832127900' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (24.6ms) Started GET "/forums/my_subscriptions?page=2" for ::1 at 2015-01-13 23:51:34 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"2"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (0.8ms) Completed 500 Internal Server Error in 68ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = paginate @subscriptions mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' kaminari (0.15.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365832127900' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (24.9ms) Started GET "/forums/my_subscriptions?page=2" for ::1 at 2015-01-13 23:51:37 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"2"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (0.9ms) Completed 500 Internal Server Error in 55ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = paginate @subscriptions mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' kaminari (0.15.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365832127900' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.3ms) Started GET "/forums/my_subscriptions?page=2" for ::1 at 2015-01-13 23:52:01 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"2"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.0ms) Completed 500 Internal Server Error in 57ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = paginate @subscriptions kaminari (0.15.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365832127900' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.3ms) Started GET "/forums/my_subscriptions?page=2" for ::1 at 2015-01-13 23:53:21 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"2"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.8700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.4ms) Completed 500 Internal Server Error in 61ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = paginate @subscriptions kaminari (0.15.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365832127900' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.9ms) Started GET "/forums/my_subscriptions?page=2" for ::1 at 2015-01-13 23:53:37 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"2"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (2.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6370ms Completed 200 OK in 92ms (Views: 32.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 23:53:38 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 23:53:38 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 23:53:38 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 23:53:38 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 23:53:38 -0500 Started GET "/forums/my_subscriptions?page=2" for ::1 at 2015-01-13 23:53:47 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"2"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5250ms Completed 200 OK in 79ms (Views: 25.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 23:53:47 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 23:53:47 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 23:53:47 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 23:53:47 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 23:53:47 -0500 Started GET "/forums/my_subscriptions?page=2" for ::1 at 2015-01-13 23:53:56 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"2"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3120ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6670ms Completed 200 OK in 74ms (Views: 29.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 23:53:56 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 23:53:56 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 23:53:56 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 23:53:56 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 23:53:56 -0500 Started GET "/forums/my_subscriptions?page=2" for ::1 at 2015-01-13 23:53:57 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"2"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5140ms Completed 200 OK in 42ms (Views: 28.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 23:53:57 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 23:53:57 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 23:53:57 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 23:53:57 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 23:53:57 -0500 Started GET "/forums/my_subscriptions?page=0" for ::1 at 2015-01-13 23:54:00 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"0"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (3.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4850ms Completed 200 OK in 43ms (Views: 33.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 23:54:00 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 23:54:00 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 23:54:00 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 23:54:00 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 23:54:00 -0500 Started GET "/forums/my_subscriptions?page=-1" for ::1 at 2015-01-13 23:54:02 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"-1"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5250ms Completed 200 OK in 32ms (Views: 21.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 23:54:02 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 23:54:02 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 23:54:02 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 23:54:02 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 23:54:02 -0500 Started GET "/forums/my_subscriptions?page=-1234234" for ::1 at 2015-01-13 23:54:05 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"-1234234"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5050ms Completed 200 OK in 38ms (Views: 30.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 23:54:05 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 23:54:05 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 23:54:05 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 23:54:05 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 23:54:05 -0500 Started GET "/forums/my_subscriptions?page=-1234234" for ::1 at 2015-01-13 23:54:24 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"-1234234"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (2.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6650ms Completed 200 OK in 82ms (Views: 33.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 23:54:24 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 23:54:24 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 23:54:24 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 23:54:24 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 23:54:24 -0500 Started GET "/forums/my_subscriptions?page=-1234234" for ::1 at 2015-01-13 23:56:36 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"-1234234"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (16.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5950ms Completed 200 OK in 96ms (Views: 47.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 23:56:36 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 23:56:36 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 23:56:36 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 23:56:36 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 23:56:36 -0500 Started GET "/forums/my_subscriptions?page=2" for ::1 at 2015-01-13 23:56:38 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"2"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (28.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5440ms Completed 200 OK in 62ms (Views: 50.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 23:56:38 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 23:56:38 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 23:56:38 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 23:56:38 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 23:56:38 -0500 Started GET "/forums/my_subscriptions?page=3" for ::1 at 2015-01-13 23:56:40 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"3"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (18.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6350ms Completed 200 OK in 59ms (Views: 44.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 23:56:40 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 23:56:40 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 23:56:40 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 23:56:40 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 23:56:40 -0500 Started GET "/forums/my_subscriptions?page=4" for ::1 at 2015-01-13 23:56:41 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"4"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (13.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4450ms Completed 200 OK in 49ms (Views: 34.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 23:56:41 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 23:56:41 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 23:56:41 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 23:56:41 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 23:56:41 -0500 Started GET "/forums/my_subscriptions?page=5" for ::1 at 2015-01-13 23:56:42 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"5"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (9.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5170ms Completed 200 OK in 44ms (Views: 32.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 23:56:42 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 23:56:42 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 23:56:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 23:56:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 23:56:42 -0500 Started GET "/forums/my_subscriptions?page=5" for ::1 at 2015-01-13 23:56:49 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"5"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (10.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5550ms Completed 200 OK in 123ms (Views: 70.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 23:56:49 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 23:56:49 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 23:56:49 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 23:56:49 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 23:56:49 -0500 Started GET "/forums/my_subscriptions?page=5" for ::1 at 2015-01-13 23:57:15 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"5"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (15.9ms) Completed 500 Internal Server Error in 28ms ActionView::Template::Error (Missing partial mongoid_forums/topics/_topic with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Business/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Business/mongoid_forums/app/views" * "/Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/kaminari-0.15.1/app/views" * "/Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views" ): 1: %h2 Your subscriptions 2: = paginate @topics 3: = @topics.count 4: = render @topics actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:418:in `find_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:413:in `find_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:294:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:4:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365861535240' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.0ms) Started GET "/forums/my_subscriptions?page=5" for ::1 at 2015-01-13 23:58:11 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"5"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (20.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7760ms Completed 200 OK in 97ms (Views: 84.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 23:58:12 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 23:58:12 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 23:58:12 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 23:58:12 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 23:58:12 -0500 Started GET "/forums/my_subscriptions?page=5" for ::1 at 2015-01-13 23:58:21 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"5"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (2.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5540ms Completed 200 OK in 83ms (Views: 35.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 23:58:21 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 23:58:21 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 23:58:21 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 23:58:21 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 23:58:21 -0500 Started GET "/forums/my_subscriptions?page=5" for ::1 at 2015-01-13 23:58:24 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"5"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (13.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5560ms Completed 200 OK in 130ms (Views: 80.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 23:58:24 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 23:58:24 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 23:58:24 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 23:58:24 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 23:58:24 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 23:58:25 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (13.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5470ms Completed 200 OK in 52ms (Views: 38.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 23:58:25 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 23:58:25 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 23:58:25 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 23:58:25 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 23:58:25 -0500 Started GET "/forums/my_subscriptions?page=5" for ::1 at 2015-01-13 23:58:26 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"5"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (12.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5510ms Completed 200 OK in 51ms (Views: 36.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 23:58:26 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 23:58:26 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 23:58:26 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 23:58:26 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 23:58:26 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 23:58:27 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (10.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5650ms Completed 200 OK in 46ms (Views: 33.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 23:58:27 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 23:58:27 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 23:58:27 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 23:58:27 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 23:58:27 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 23:58:52 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (11.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9390ms Completed 200 OK in 86ms (Views: 40.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-13 23:58:52 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-13 23:58:52 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-13 23:58:52 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-13 23:58:52 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-13 23:58:52 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 23:59:01 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (2.1ms) Completed 500 Internal Server Error in 52ms ActionView::Template::Error (undefined method `name' for nil:NilClass): 2: = paginate @topics 3: 4: - @topics.each do |topic| 5: = topic.name /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:5:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365861497100' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:4:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:4:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365861497100' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (28.2ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 23:59:14 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (6.8ms) Completed 500 Internal Server Error in 21ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 2: = paginate @topics 3: 4: - @topics.each do |topic| 5: = topic.user /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:5:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365827913960' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:4:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:4:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365827913960' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.6ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-13 23:59:47 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2950ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (4.3ms) Completed 500 Internal Server Error in 17ms ActionView::Template::Error ('nil' is not an ActiveModel-compatible object. It must implement :to_partial_path.): 1: %h2 Your subscriptions 2: = paginate @topics 3: = render @topics actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:478:in `partial_path' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `block in setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:293:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365866342660' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.4ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:00:00 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms DEPRECATION WARNING: The file /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic did not specify a template handler. The default is currently ERB, but will change to RAW in the future. (called from ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365840065080 at /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:3) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic (0.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (13.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6360ms Completed 200 OK in 89ms (Views: 42.7ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:00:00 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:00:00 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:00:00 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:00:00 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:00:00 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:00:04 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (2.5ms) Completed 500 Internal Server Error in 53ms ActionView::Template::Error ('nil' is not an ActiveModel-compatible object. It must implement :to_partial_path.): 1: %h2 Your subscriptions 2: = paginate @topics 3: = render @topics actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:478:in `partial_path' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `block in setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:293:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365840065080' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.2ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:00:07 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms DEPRECATION WARNING: The file /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic did not specify a template handler. The default is currently ERB, but will change to RAW in the future. (called from ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365840065080 at /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:3) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic (0.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (14.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5360ms Completed 200 OK in 95ms (Views: 46.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:00:08 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:00:08 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:00:08 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:00:08 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:00:08 -0500 Started GET "/forums/my_subscriptions?page=2" for ::1 at 2015-01-14 00:00:10 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"2"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms DEPRECATION WARNING: The file /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic did not specify a template handler. The default is currently ERB, but will change to RAW in the future. (called from ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365840065080 at /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:3) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic (0.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (15.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5510ms Completed 200 OK in 57ms (Views: 46.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:00:10 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:00:10 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:00:10 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:00:10 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:00:10 -0500 Started GET "/forums/my_subscriptions?page=3" for ::1 at 2015-01-14 00:00:13 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"3"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (16.4ms) Completed 500 Internal Server Error in 32ms ActionView::Template::Error ('nil' is not an ActiveModel-compatible object. It must implement :to_partial_path.): 1: %h2 Your subscriptions 2: = paginate @topics 3: = render @topics actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:478:in `partial_path' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `block in setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:293:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365840065080' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.5ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:00:16 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms DEPRECATION WARNING: The file /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic did not specify a template handler. The default is currently ERB, but will change to RAW in the future. (called from ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365840065080 at /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:3) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic (0.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (15.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Completed 200 OK in 46ms (Views: 37.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:00:16 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:00:16 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:00:16 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:00:16 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:00:16 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:01:11 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (3.7ms) Completed 500 Internal Server Error in 62ms ActionView::Template::Error ('nil' is not an ActiveModel-compatible object. It must implement :to_partial_path.): 1: %h2 Your subscriptions 2: = paginate @topics 3: = render @topics actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:478:in `partial_path' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `block in setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:293:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365840065080' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.8ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:01:16 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (2.1ms) Completed 500 Internal Server Error in 51ms ActionView::Template::Error ('nil' is not an ActiveModel-compatible object. It must implement :to_partial_path.): 1: %h2 Your subscriptions 2: = paginate @topics 3: = render @topics actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:478:in `partial_path' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `block in setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:293:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365840065080' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (24.3ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:01:23 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms DEPRECATION WARNING: The file /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic did not specify a template handler. The default is currently ERB, but will change to RAW in the future. (called from ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365840065080 at /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:3) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic (0.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (12.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5350ms Completed 200 OK in 127ms (Views: 39.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:01:24 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:01:24 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:01:24 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:01:24 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:01:24 -0500 Started GET "/forums/my_subscriptions?page=2" for ::1 at 2015-01-14 00:01:25 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"2"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2930ms DEPRECATION WARNING: The file /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic did not specify a template handler. The default is currently ERB, but will change to RAW in the future. (called from ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365840065080 at /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:3) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic (0.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (21.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4630ms Completed 200 OK in 54ms (Views: 46.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:01:25 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:01:25 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:01:25 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:01:25 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:01:25 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:01:26 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms DEPRECATION WARNING: The file /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic did not specify a template handler. The default is currently ERB, but will change to RAW in the future. (called from ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365840065080 at /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:3) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic (0.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (15.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5090ms Completed 200 OK in 58ms (Views: 44.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:01:26 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:01:26 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:01:26 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:01:26 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:01:26 -0500 Started GET "/forums/my_subscriptions?page=2" for ::1 at 2015-01-14 00:01:28 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"2"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7630ms DEPRECATION WARNING: The file /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic did not specify a template handler. The default is currently ERB, but will change to RAW in the future. (called from ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365840065080 at /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:3) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic (0.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (14.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4650ms Completed 200 OK in 57ms (Views: 41.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:01:28 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:01:28 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:01:28 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:01:28 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:01:28 -0500 Started GET "/forums/my_subscriptions?page=4" for ::1 at 2015-01-14 00:01:29 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"4"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (18.8ms) Completed 500 Internal Server Error in 35ms ActionView::Template::Error ('nil' is not an ActiveModel-compatible object. It must implement :to_partial_path.): 1: %h2 Your subscriptions 2: = paginate @topics 3: = render @topics actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:478:in `partial_path' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `block in setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:293:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365840065080' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (54.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (70.3ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:01:39 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms DEPRECATION WARNING: The file /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic did not specify a template handler. The default is currently ERB, but will change to RAW in the future. (called from ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365840065080 at /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:3) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic (0.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (9.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5090ms Completed 200 OK in 85ms (Views: 32.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:01:39 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:01:39 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:01:39 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:01:39 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:01:39 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:01:52 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms DEPRECATION WARNING: The file /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic did not specify a template handler. The default is currently ERB, but will change to RAW in the future. (called from ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365879506780 at /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:3) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic (0.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (17.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4900ms Completed 200 OK in 143ms (Views: 42.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:01:52 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:01:52 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:01:52 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:01:52 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:01:52 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:01:57 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms DEPRECATION WARNING: The file /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic did not specify a template handler. The default is currently ERB, but will change to RAW in the future. (called from ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365879506780 at /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:3) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic (0.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (10.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5440ms Completed 200 OK in 44ms (Views: 33.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:01:57 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:01:57 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:01:57 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:01:57 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:01:57 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:02:06 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (1.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (14.4ms) Completed 500 Internal Server Error in 29ms ActionView::Template::Error (undefined method `name' for nil:NilClass): 1: = @topic.name /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml:1:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics__topic_haml__2482036916469300435_70365880786700' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365879506780' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (26.0ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:02:12 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (2.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (15.9ms) Completed 500 Internal Server Error in 30ms ActionView::Template::Error (undefined method `user' for nil:NilClass): 1: = @topic.user /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml:1:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics__topic_haml__2482036916469300435_70365823578100' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365879506780' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.0ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:02:16 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2940ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (9.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5180ms Completed 200 OK in 40ms (Views: 31.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:02:16 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:02:16 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:02:16 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:02:16 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:02:16 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:02:21 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3150ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (11.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4690ms Completed 200 OK in 46ms (Views: 35.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:02:21 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:02:21 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:02:21 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:02:21 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:02:21 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:02:26 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (10.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5380ms Completed 200 OK in 49ms (Views: 36.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:02:26 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:02:26 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:02:26 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:02:26 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:02:26 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:04:26 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5880ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (15.5ms) Completed 500 Internal Server Error in 96ms ActionView::Template::Error ('nil' is not an ActiveModel-compatible object. It must implement :to_partial_path.): 1: %h2 Your subscriptions 2: = paginate @topics 3: = render @topics actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:478:in `partial_path' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `block in setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:293:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365879506780' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (27.9ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:04:31 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (17.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4790ms Completed 200 OK in 88ms (Views: 43.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:04:31 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:04:31 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:04:31 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:04:31 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:04:31 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:04:35 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2880ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (7.6ms) Completed 500 Internal Server Error in 60ms ActionView::Template::Error ('nil' is not an ActiveModel-compatible object. It must implement :to_partial_path.): 1: %h2 Your subscriptions 2: = paginate @topics 3: = render @topics actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:478:in `partial_path' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `block in setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:293:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365879506780' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.1ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:08:17 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2880ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (13.1ms) Completed 500 Internal Server Error in 155ms ActionView::Template::Error ('nil' is not an ActiveModel-compatible object. It must implement :to_partial_path.): 1: %h2 Your subscriptions 2: = paginate @topics 3: = render @topics actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:478:in `partial_path' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `block in setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:293:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365879506780' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.7ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:08:18 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (6.8ms) Completed 500 Internal Server Error in 21ms ActionView::Template::Error ('nil' is not an ActiveModel-compatible object. It must implement :to_partial_path.): 1: %h2 Your subscriptions 2: = paginate @topics 3: = render @topics actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:478:in `partial_path' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `block in setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:293:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365879506780' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.9ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:09:39 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5390ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.8ms) Completed 500 Internal Server Error in 60ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = paginate @topics 3: = render @topics kaminari (0.15.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365879506780' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (17.7ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:10:18 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5900ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (2.1ms) Completed 500 Internal Server Error in 17ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: - unless @topics.class == "Array" 3: = paginate @topics 4: = render @topics kaminari (0.15.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365885682160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.3ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:10:19 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4780ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.1ms) Completed 500 Internal Server Error in 12ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: - unless @topics.class == "Array" 3: = paginate @topics 4: = render @topics kaminari (0.15.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365885682160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (15.5ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:10:48 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5540ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (3.1ms) Completed 500 Internal Server Error in 17ms ActionView::Template::Error (Missing partial mongoid_forums/subscriptions/_subscription with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Business/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Business/mongoid_forums/app/views" * "/Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/kaminari-0.15.1/app/views" * "/Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views" ): 1: %h2 Your subscriptions 2: - unless @topics.class.name == "Array" 3: = paginate @topics 4: = render @topics actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:418:in `find_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:413:in `find_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:294:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:4:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365886156200' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.9ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:12:00 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (2.3ms) Completed 500 Internal Server Error in 61ms ActionView::Template::Error ('nil' is not an ActiveModel-compatible object. It must implement :to_partial_path.): 1: %h2 Your subscriptions 2: - unless @topics.class.name == "Array" 3: = paginate @topics 4: = render @topics actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:478:in `partial_path' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `block in setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:293:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:4:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365884370060' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.2ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:12:01 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (0.8ms) Completed 500 Internal Server Error in 13ms ActionView::Template::Error ('nil' is not an ActiveModel-compatible object. It must implement :to_partial_path.): 1: %h2 Your subscriptions 2: - unless @topics.class.name == "Array" 3: = paginate @topics 4: = render @topics actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:478:in `partial_path' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `block in setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:293:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:4:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365884370060' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (17.3ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:12:19 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.2ms) Completed 500 Internal Server Error in 53ms ActionView::Template::Error ('nil' is not an ActiveModel-compatible object. It must implement :to_partial_path.): 1: %h2 Your subscriptions 2: - unless @topics.class.name == "Array" 3: = paginate @topics 4: = render @topics actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:478:in `partial_path' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `block in setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:293:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:4:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365884370060' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (24.1ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:12:23 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (22.2ms) Completed 500 Internal Server Error in 75ms ActionView::Template::Error ('nil' is not an ActiveModel-compatible object. It must implement :to_partial_path.): 1: %h2 Your subscriptions 2: - unless @topics.class.name == "Array" 3: = paginate @topics 4: = render @topics actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:478:in `partial_path' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `block in setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:293:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:4:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365884370060' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (24.0ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:12:25 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.1ms) Completed 500 Internal Server Error in 59ms ActionView::Template::Error ('nil' is not an ActiveModel-compatible object. It must implement :to_partial_path.): 1: %h2 Your subscriptions 2: - unless @topics.class.name == "Array" 3: = paginate @topics 4: = render @topics actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:478:in `partial_path' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `block in setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:293:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:4:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365884370060' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (17.2ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:12:48 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2880ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.0ms) Completed 500 Internal Server Error in 53ms ActionView::Template::Error ('nil' is not an ActiveModel-compatible object. It must implement :to_partial_path.): 1: %h2 Your subscriptions 2: - unless @topics.class.name == "Array" 3: = paginate @topics 4: = render @topics actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:478:in `partial_path' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `block in setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:293:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:4:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365884370060' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.2ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:22:36 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 3.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6370ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.2ms) Completed 500 Internal Server Error in 177ms ActionView::Template::Error ('nil' is not an ActiveModel-compatible object. It must implement :to_partial_path.): 1: %h2 Your subscriptions 2: - unless @topics.class.name == "Array" 3: = paginate @topics 4: = render @topics actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:478:in `partial_path' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `block in setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:293:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:4:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365884370060' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.4ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:22:37 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.1ms) Completed 500 Internal Server Error in 13ms ActionView::Template::Error ('nil' is not an ActiveModel-compatible object. It must implement :to_partial_path.): 1: %h2 Your subscriptions 2: - unless @topics.class.name == "Array" 3: = paginate @topics 4: = render @topics actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:478:in `partial_path' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `block in setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:293:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:4:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365884370060' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.4ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:23:05 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (2.0ms) Completed 500 Internal Server Error in 63ms ActionView::Template::Error ('nil' is not an ActiveModel-compatible object. It must implement :to_partial_path.): 1: %h2 Your subscriptions 2: - unless @topics.class.name == "Array" 3: = paginate @topics 4: = render @topics actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:478:in `partial_path' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `block in setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:293:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:4:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365884370060' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.7ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:23:06 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.4ms) Completed 500 Internal Server Error in 117ms ActionView::Template::Error ('nil' is not an ActiveModel-compatible object. It must implement :to_partial_path.): 1: %h2 Your subscriptions 2: - unless @topics.class.name == "Array" 3: = paginate @topics 4: = render @topics actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:478:in `partial_path' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `block in setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:293:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:4:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__4286124230451164699_70365884370060' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.4ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:24:58 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (6.9ms) Completed 500 Internal Server Error in 70ms ActionView::Template::Error ('nil' is not an ActiveModel-compatible object. It must implement :to_partial_path.): 1: %h2 Your subscriptions 2: - unless @topics.class.name == "Array" 3: = paginate @topics 4: = render @topics actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:478:in `partial_path' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `block in setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:293:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:4:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__2990392373371245377_70297635336860' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.5ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:24:59 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.1ms) Completed 500 Internal Server Error in 16ms ActionView::Template::Error ('nil' is not an ActiveModel-compatible object. It must implement :to_partial_path.): 1: %h2 Your subscriptions 2: - unless @topics.class.name == "Array" 3: = paginate @topics 4: = render @topics actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:478:in `partial_path' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `block in setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:293:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:4:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__2990392373371245377_70297635336860' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (17.3ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:25:39 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.3ms) Completed 500 Internal Server Error in 74ms ActionView::Template::Error ('nil' is not an ActiveModel-compatible object. It must implement :to_partial_path.): 1: %h2 Your subscriptions 2: - unless @topics.class.name == "Array" 3: = paginate @topics 4: = render @topics actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:478:in `partial_path' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `block in setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:379:in `setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:293:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:4:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__2990392373371245377_70297635336860' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (30.8ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:25:50 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.2450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms Completed 500 Internal Server Error in 55ms NoMethodError (undefined method `paginate' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:42:in `my_subscriptions' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (16.7ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:26:10 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms Completed 500 Internal Server Error in 61ms NoMethodError (undefined method `all' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:42:in `my_subscriptions' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (24.8ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:26:12 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3040ms Completed 500 Internal Server Error in 9ms NoMethodError (undefined method `all' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:42:in `my_subscriptions' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (17.1ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:28:06 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c85d4e65696990010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms Completed 500 Internal Server Error in 49ms NoMethodError (undefined method `page' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:42:in `my_subscriptions' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (26.7ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:28:18 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=1 skip=0 batch_size=nil fields=nil runtime: 0.6360ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (5.8ms) Completed 500 Internal Server Error in 40ms ActionView::Template::Error (Missing partial mongoid_forums/subscriptions/_subscription with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in: * "/Users/neiljohari/Desktop/Business/mongoid_forums/test/dummy/app/views" * "/Users/neiljohari/Desktop/Business/mongoid_forums/app/views" * "/Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/kaminari-0.15.1/app/views" * "/Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views" ): 1: %h2 Your subscriptions 2: - unless @topics.class.name == "Array" 3: = paginate @topics 4: = render @topics actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:418:in `find_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:413:in `find_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:294:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:4:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___4235215558116669078_70344724368620' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.4ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:28:51 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=1 skip=0 batch_size=nil fields=nil runtime: 0.5990ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.7ms) Completed 500 Internal Server Error in 42ms ActionView::Template::Error (undefined method `keys' for #): 1: %h2 Your subscriptions 2: - unless @topics.class.name == "Array" 3: = paginate @topics 4: = render "_topic", @topics actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:510:in `retrieve_template_keys' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:393:in `setup' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:293:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:4:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___4235215558116669078_70344692357620' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (17.7ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:28:59 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.3ms) Completed 500 Internal Server Error in 9ms SyntaxError (/Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:4: syntax error, unexpected '\n', expecting => /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:5: unterminated string meets end of file /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:5: syntax error, unexpected end-of-input, expecting ')'): /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:4: syntax error, unexpected '\n', expecting => /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:5: unterminated string meets end of file /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:5: syntax error, unexpected end-of-input, expecting ')' actionview (4.2.0) lib/action_view/template.rb:296:in `module_eval' actionview (4.2.0) lib/action_view/template.rb:296:in `compile' actionview (4.2.0) lib/action_view/template.rb:245:in `block (2 levels) in compile!' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:244:in `block in compile!' actionview (4.2.0) lib/action_view/template.rb:232:in `synchronize' actionview (4.2.0) lib/action_view/template.rb:232:in `compile!' actionview (4.2.0) lib/action_view/template.rb:144:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (28.8ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:29:37 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=1 skip=0 batch_size=nil fields=nil runtime: 0.6600ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (1.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (4.0ms) Completed 500 Internal Server Error in 14ms ActionView::Template::Error (undefined method `name' for #): 1: = topic.name /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml:1:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics__topic_haml___1478500025454988419_70344726912360' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:32:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:4:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___4235215558116669078_70344727020800' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.6ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:32:16 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=1 skip=0 batch_size=nil fields=nil runtime: 0.7230ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (15.5ms) Completed 500 Internal Server Error in 59ms ActionView::Template::Error (undefined local variable or method `sub' for #<#:0x007ff4d0e42948>): 3: = paginate @topics 4: 5: - @topics.each do |topic| 6: = render partial: 'topic', :locals => {:topic => sub.subscribable} /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:6:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___4235215558116669078_70344726676920' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:5:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:5:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___4235215558116669078_70344726676920' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (26.4ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:32:26 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (1.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (26.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6210ms Completed 200 OK in 81ms (Views: 76.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:32:26 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:32:26 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:32:26 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:32:26 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:32:26 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:32:41 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (1.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (18.7ms) Completed 500 Internal Server Error in 57ms ActionView::Template::Error (undefined method `name' for nil:NilClass): 1: = topic.name /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml:1:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics__topic_haml___1478500025454988419_70344724828440' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:32:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:6:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___4235215558116669078_70344701481260' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:5:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:5:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___4235215558116669078_70344701481260' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (28.9ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:32:47 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9470ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}} runtime: 9.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (1.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (33.6ms) Completed 500 Internal Server Error in 78ms ActionView::Template::Error (undefined method `name' for nil:NilClass): 1: = topic.name /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml:1:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics__topic_haml___1478500025454988419_70344724828440' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:32:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:6:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___4235215558116669078_70344701481260' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:5:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___4235215558116669078_70344701481260' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.4ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:32:50 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=1 skip=0 batch_size=nil fields=nil runtime: 0.7920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (11.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4900ms Completed 200 OK in 72ms (Views: 35.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:32:50 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:32:50 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:32:50 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:32:50 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:32:50 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:35:08 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=2 skip=0 batch_size=nil fields=nil runtime: 0.6500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (15.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4810ms Completed 200 OK in 88ms (Views: 46.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:35:09 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:35:09 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:35:09 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:35:09 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:35:09 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:35:11 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=4 skip=0 batch_size=nil fields=nil runtime: 0.7270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (15.3ms) Completed 500 Internal Server Error in 59ms ActionView::Template::Error (undefined method `name' for nil:NilClass): 1: = topic.name /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml:1:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics__topic_haml___1478500025454988419_70344724828440' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:32:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:6:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___4235215558116669078_70344701481260' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:5:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:5:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___4235215558116669078_70344701481260' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (26.2ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:35:15 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=3 skip=0 batch_size=nil fields=nil runtime: 0.7930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6840ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5c8c74e65696990040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3090ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (16.8ms) Completed 500 Internal Server Error in 57ms ActionView::Template::Error (undefined method `name' for nil:NilClass): 1: = topic.name /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml:1:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics__topic_haml___1478500025454988419_70344724828440' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:32:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:6:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___4235215558116669078_70344701481260' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:5:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:5:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml___4235215558116669078_70344701481260' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (27.7ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:35:17 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=2 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (15.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4690ms Completed 200 OK in 68ms (Views: 39.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:35:17 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:35:17 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:35:17 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:35:17 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:35:18 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:35:29 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=2 skip=0 batch_size=nil fields=nil runtime: 0.3660ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (0.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5690ms Completed 200 OK in 28ms (Views: 24.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:35:29 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:35:29 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:35:29 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:35:29 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:35:29 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:35:34 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5160ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (0.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4740ms Completed 200 OK in 62ms (Views: 27.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:35:35 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:35:35 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:35:35 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:35:35 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:35:35 -0500 Started GET "/" for ::1 at 2015-01-14 00:35:41 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms Rendered partials/_nav.haml (2.5ms) Completed 200 OK in 57ms (Views: 56.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:35:41 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:35:41 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:35:41 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:35:41 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:35:41 -0500 Started GET "/users/sign_out" for ::1 at 2015-01-14 00:35:42 -0500 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms Redirected to http://localhost:3000/ Completed 302 Found in 31ms Started GET "/" for ::1 at 2015-01-14 00:35:42 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) Rendered partials/_nav.haml (6.2ms) Completed 200 OK in 30ms (Views: 29.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:35:42 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:35:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:35:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:35:42 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:35:42 -0500 Started GET "/users/sign_in" for ::1 at 2015-01-14 00:35:43 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (5.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (22.9ms) Rendered partials/_nav.haml (0.3ms) Completed 200 OK in 62ms (Views: 51.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:35:43 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:35:43 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:35:43 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:35:43 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:35:43 -0500 Started POST "/users/sign_in" for ::1 at 2015-01-14 00:35:46 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"fnCwWg2jSabBx81tiEcI1hXfjX/89CdaxndhGTg7rUuLoudgXDmkqbX4/+bMMiz0pcYPd5AcP6qa7e/YNQ5Mww==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"neilj.ny@gmail.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"last_sign_in_at"=>2015-01-12 12:07:05 UTC, "current_sign_in_at"=>2015-01-14 05:35:46 UTC, "sign_in_count"=>13}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 12.9340ms Redirected to http://localhost:3000/ Completed 302 Found in 119ms Started GET "/" for ::1 at 2015-01-14 00:35:46 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6140ms Rendered partials/_nav.haml (1.7ms) Completed 200 OK in 29ms (Views: 29.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:35:47 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:35:47 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:35:47 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:35:47 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:35:47 -0500 Started GET "/forums/" for ::1 at 2015-01-14 00:35:49 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 3.2000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5960ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (48.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4880ms Completed 200 OK in 82ms (Views: 79.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:35:49 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:35:49 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:35:49 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:35:49 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:35:49 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-14 00:35:51 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.0250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (39.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6140ms Completed 200 OK in 101ms (Views: 92.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:35:51 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:35:51 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:35:51 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:35:51 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:35:51 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-14 00:35:59 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4700ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}} runtime: 0.7540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.6920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (30.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (54.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4950ms Completed 200 OK in 87ms (Views: 80.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:35:59 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:35:59 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:35:59 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:35:59 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:35:59 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000?page=2" for ::1 at 2015-01-14 00:36:03 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"page"=>"2", "id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9840ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 3.2660ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}} runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=20 batch_size=nil fields=nil runtime: 0.8450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (24.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4460ms Completed 200 OK in 61ms (Views: 46.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:36:03 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:36:03 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:36:04 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:36:04 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:36:04 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000/posts/new?reply_to_id=54b5cd384e65696ac9390000" for ::1 at 2015-01-14 00:36:05 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b5cd384e65696ac9390000", "topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b5cd384e65696ac9390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (2.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (12.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4780ms Completed 200 OK in 45ms (Views: 36.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:36:05 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:36:05 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:36:05 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:36:05 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:36:05 -0500 Started POST "/forums/topics/54b2a3dd4e65694fb8230000/posts" for ::1 at 2015-01-14 00:36:08 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"sDH+rFinDTQYrw8g38jYJTtsRhuCeAF2V0+n8XJ0Eh5x7lbBvHYWclIjOkIZzu4kXzUpENhb8LgmC8mixc6qAA==", "post"=>{"text"=>"spam!", "reply_to_id"=>"54b5cd384e65696ac9390000"}, "commit"=>"Create Reply", "topic_id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b600484e65697404010000'), "text"=>"spam!", "topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "reply_to_id"=>BSON::ObjectId('54b5cd384e65696ac9390000'), "updated_at"=>2015-01-14 05:36:08 UTC, "created_at"=>2015-01-14 05:36:08 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms Redirected to http://localhost:3000/forums/topics/54b2a3dd4e65694fb8230000 Completed 302 Found in 20ms Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-14 00:36:08 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8070ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}} runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.2000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (27.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (38.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7680ms Completed 200 OK in 70ms (Views: 63.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:36:09 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:36:09 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:36:09 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:36:09 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:36:09 -0500 Started GET "/" for ::1 at 2015-01-14 00:36:11 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms Rendered partials/_nav.haml (1.4ms) Completed 200 OK in 54ms (Views: 53.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:36:12 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:36:12 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:36:12 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:36:12 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:36:12 -0500 Started GET "/users/sign_out" for ::1 at 2015-01-14 00:36:13 -0500 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8860ms Redirected to http://localhost:3000/ Completed 302 Found in 5ms Started GET "/" for ::1 at 2015-01-14 00:36:13 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) Rendered partials/_nav.haml (0.8ms) Completed 200 OK in 33ms (Views: 32.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:36:13 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:36:13 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:36:13 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:36:13 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:36:13 -0500 Started GET "/users/sign_in" for ::1 at 2015-01-14 00:36:14 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (4.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (12.0ms) Rendered partials/_nav.haml (0.7ms) Completed 200 OK in 44ms (Views: 43.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:36:14 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:36:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:36:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:36:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:36:14 -0500 Started POST "/users/sign_in" for ::1 at 2015-01-14 00:36:19 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"W1I/JclFwupCPRKUq95ak6ik5tHvCuC5G9ne5k9ySP7SH5QH9/mJkX/GT8lpMkq0A+M+3kjHj+U+FVwPxZFiQw==", "user"=>{"email"=>"user@njay.net", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"user@njay.net"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2570ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"last_sign_in_at"=>2015-01-12 12:16:02 UTC, "current_sign_in_at"=>2015-01-14 05:36:19 UTC, "sign_in_count"=>5}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6140ms Redirected to http://localhost:3000/ Completed 302 Found in 86ms Started GET "/" for ::1 at 2015-01-14 00:36:19 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7140ms Rendered partials/_nav.haml (1.9ms) Completed 200 OK in 21ms (Views: 21.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:36:19 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:36:19 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:36:19 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:36:19 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:36:19 -0500 Started GET "/forums/subscriptions" for ::1 at 2015-01-14 00:36:23 -0500 Processing by MongoidForums::RedirectController#subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms Redirected to http://localhost:3000/forums/my_subscriptions Completed 302 Found in 4ms Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:36:23 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4250ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6470ms Completed 200 OK in 30ms (Views: 24.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:36:23 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:36:23 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:36:23 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:36:23 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:36:23 -0500 Started GET "/forums/" for ::1 at 2015-01-14 00:36:33 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (10.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4890ms Completed 200 OK in 41ms (Views: 38.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:36:33 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:36:33 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:36:33 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:36:33 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:36:33 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-14 00:36:34 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.9940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (43.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4400ms Completed 200 OK in 101ms (Views: 94.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:36:34 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:36:34 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:36:34 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:36:34 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:36:34 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-14 00:36:36 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (57.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4670ms Completed 200 OK in 88ms (Views: 82.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:36:36 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:36:36 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:36:36 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:36:36 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:36:36 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:36:39 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"jEP0r372XHQgkgkN1PKUtcjLrdwICGdezxm3ttoyNa+wQGKhAgy+/712XLSMGQzYfEC5BUE2ledCAtxxckaFTg==", "topic"=>{"name"=>"sdsdf", "posts"=>{"text"=>"sdfds"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b600674e65697404030000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdsdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:36:39 UTC, "created_at"=>2015-01-14 05:36:39 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5700ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b600674e65697404030000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b600674e65697404030000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b600674e65697404050000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b600674e65697404030000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:36:39 UTC, "created_at"=>2015-01-14 05:36:39 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.0380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9620ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b600674e65697404040000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdfds", "topic_id"=>BSON::ObjectId('54b600674e65697404030000'), "updated_at"=>2015-01-14 05:36:39 UTC, "created_at"=>2015-01-14 05:36:39 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4910ms Redirected to http://localhost:3000/forums/topics/54b600674e65697404030000 Completed 302 Found in 23ms Started GET "/forums/topics/54b600674e65697404030000" for ::1 at 2015-01-14 00:36:39 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b600674e65697404030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b600674e65697404030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8800ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}} runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7030ms Completed 200 OK in 41ms (Views: 34.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:36:39 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:36:39 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:36:39 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:36:39 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:36:39 -0500 Started GET "/users/sign_in" for ::1 at 2015-01-14 00:36:42 -0500 Processing by Devise::SessionsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.3890ms Redirected to http://localhost:3000/ Filter chain halted as :require_no_authentication rendered or redirected Completed 302 Found in 7ms Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:36:42 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:36:42 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:36:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:36:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:36:42 -0500 Started GET "/forums/subscriptions" for ::1 at 2015-01-14 00:36:46 -0500 Processing by MongoidForums::RedirectController#subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms Redirected to http://localhost:3000/forums/my_subscriptions Completed 302 Found in 3ms Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:36:46 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (2.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6930ms Completed 200 OK in 32ms (Views: 26.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:36:46 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:36:46 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:36:46 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:36:46 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:36:46 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:36:47 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (3.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6770ms Completed 200 OK in 34ms (Views: 27.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:36:47 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:36:47 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:36:47 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:36:47 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:36:47 -0500 Started GET "/forums/" for ::1 at 2015-01-14 00:36:54 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.8540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (11.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5070ms Completed 200 OK in 37ms (Views: 34.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:36:54 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:36:54 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:36:54 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:36:54 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:36:54 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-14 00:36:55 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (39.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5310ms Completed 200 OK in 69ms (Views: 64.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:36:55 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:36:55 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:36:55 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:36:55 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:36:55 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-14 00:36:57 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.8970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (6.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5410ms Completed 200 OK in 39ms (Views: 28.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:36:57 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:36:57 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:36:57 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:36:57 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:36:57 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:37:00 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"UNyHC9IdWcyeoerERmpduPDIl79EUkBPm3h0MzLuKzhs3xEFrue7RwNFv30egcXVREODZg1ssvYWYx/0mpqb2Q==", "topic"=>{"name"=>"sfd", "posts"=>{"text"=>"sdfs"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b6007c4e65697404070000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sfd", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:37:00 UTC, "created_at"=>2015-01-14 05:37:00 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.9620ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b6007c4e65697404070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b6007c4e65697404070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.9030ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b6007c4e65697404090000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b6007c4e65697404070000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:37:00 UTC, "created_at"=>2015-01-14 05:37:00 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0470ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b6007c4e65697404080000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdfs", "topic_id"=>BSON::ObjectId('54b6007c4e65697404070000'), "updated_at"=>2015-01-14 05:37:00 UTC, "created_at"=>2015-01-14 05:37:00 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5250ms Redirected to http://localhost:3000/forums/topics/54b6007c4e65697404070000 Completed 302 Found in 22ms Started GET "/forums/topics/54b6007c4e65697404070000" for ::1 at 2015-01-14 00:37:00 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b6007c4e65697404070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b6007c4e65697404070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4450ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}} runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4970ms Completed 200 OK in 34ms (Views: 27.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:37:00 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:37:00 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:37:00 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:37:00 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:37:00 -0500 Started GET "/forums/topics/54b6007c4e65697404070000/posts/new" for ::1 at 2015-01-14 00:37:01 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b6007c4e65697404070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b6007c4e65697404070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (5.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5020ms Completed 200 OK in 37ms (Views: 31.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:37:01 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:37:01 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:37:01 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:37:01 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:37:01 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:37:05 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"UNyHC9IdWcyeoerERmpduPDIl79EUkBPm3h0MzLuKzhs3xEFrue7RwNFv30egcXVREODZg1ssvYWYx/0mpqb2Q==", "topic"=>{"name"=>"sfd", "posts"=>{"text"=>"sdfs"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8940ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b600814e656974040b0000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sfd", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:37:05 UTC, "created_at"=>2015-01-14 05:37:05 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5040ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b600814e656974040b0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b600814e656974040b0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b600814e656974040d0000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b600814e656974040b0000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:37:05 UTC, "created_at"=>2015-01-14 05:37:05 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8030ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b600814e656974040c0000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdfs", "topic_id"=>BSON::ObjectId('54b600814e656974040b0000'), "updated_at"=>2015-01-14 05:37:05 UTC, "created_at"=>2015-01-14 05:37:05 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5490ms Redirected to http://localhost:3000/forums/topics/54b600814e656974040b0000 Completed 302 Found in 23ms Started GET "/forums/topics/54b600814e656974040b0000" for ::1 at 2015-01-14 00:37:05 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b600814e656974040b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b600814e656974040b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8790ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}} runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5150ms Completed 200 OK in 38ms (Views: 31.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:37:05 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:37:05 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:37:05 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:37:05 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:37:05 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:37:07 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"UNyHC9IdWcyeoerERmpduPDIl79EUkBPm3h0MzLuKzhs3xEFrue7RwNFv30egcXVREODZg1ssvYWYx/0mpqb2Q==", "topic"=>{"name"=>"sfd", "posts"=>{"text"=>"sdfs"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7510ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b600834e656974040e0000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sfd", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:37:07 UTC, "created_at"=>2015-01-14 05:37:07 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7180ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b600834e656974040e0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.6060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b600834e656974040e0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7110ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b600834e65697404100000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b600834e656974040e0000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:37:07 UTC, "created_at"=>2015-01-14 05:37:07 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b600834e656974040f0000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdfs", "topic_id"=>BSON::ObjectId('54b600834e656974040e0000'), "updated_at"=>2015-01-14 05:37:07 UTC, "created_at"=>2015-01-14 05:37:07 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4280ms Redirected to http://localhost:3000/forums/topics/54b600834e656974040e0000 Completed 302 Found in 19ms Started GET "/forums/topics/54b600834e656974040e0000" for ::1 at 2015-01-14 00:37:07 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b600834e656974040e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b600834e656974040e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4190ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}} runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Completed 200 OK in 59ms (Views: 53.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:37:07 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:37:07 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:37:07 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:37:07 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:37:07 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:37:08 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"UNyHC9IdWcyeoerERmpduPDIl79EUkBPm3h0MzLuKzhs3xEFrue7RwNFv30egcXVREODZg1ssvYWYx/0mpqb2Q==", "topic"=>{"name"=>"sfd", "posts"=>{"text"=>"sdfs"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b600844e65697404110000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sfd", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:37:08 UTC, "created_at"=>2015-01-14 05:37:08 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.9410ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b600844e65697404110000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b600844e65697404110000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b600844e65697404130000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b600844e65697404110000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:37:08 UTC, "created_at"=>2015-01-14 05:37:08 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b600844e65697404120000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdfs", "topic_id"=>BSON::ObjectId('54b600844e65697404110000'), "updated_at"=>2015-01-14 05:37:08 UTC, "created_at"=>2015-01-14 05:37:08 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4330ms Redirected to http://localhost:3000/forums/topics/54b600844e65697404110000 Completed 302 Found in 22ms Started GET "/forums/topics/54b600844e65697404110000" for ::1 at 2015-01-14 00:37:08 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b600844e65697404110000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b600844e65697404110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4500ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}} runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5290ms Completed 200 OK in 41ms (Views: 34.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:37:08 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:37:08 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:37:08 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:37:08 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:37:08 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:37:10 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"UNyHC9IdWcyeoerERmpduPDIl79EUkBPm3h0MzLuKzhs3xEFrue7RwNFv30egcXVREODZg1ssvYWYx/0mpqb2Q==", "topic"=>{"name"=>"sfd", "posts"=>{"text"=>"sdfs"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b600864e65697404140000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sfd", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:37:10 UTC, "created_at"=>2015-01-14 05:37:10 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5210ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b600864e65697404140000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b600864e65697404140000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b600864e65697404160000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b600864e65697404140000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:37:10 UTC, "created_at"=>2015-01-14 05:37:10 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5930ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b600864e65697404150000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdfs", "topic_id"=>BSON::ObjectId('54b600864e65697404140000'), "updated_at"=>2015-01-14 05:37:10 UTC, "created_at"=>2015-01-14 05:37:10 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4130ms Redirected to http://localhost:3000/forums/topics/54b600864e65697404140000 Completed 302 Found in 19ms Started GET "/forums/topics/54b600864e65697404140000" for ::1 at 2015-01-14 00:37:10 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b600864e65697404140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b600864e65697404140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4930ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}} runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6190ms Completed 200 OK in 44ms (Views: 37.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:37:10 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:37:10 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:37:10 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:37:10 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:37:10 -0500 Started GET "/forums/" for ::1 at 2015-01-14 00:37:13 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3120ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (9.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4730ms Completed 200 OK in 36ms (Views: 31.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:37:13 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:37:13 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:37:13 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:37:13 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:37:13 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-14 00:37:14 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.1790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (63.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6300ms Completed 200 OK in 93ms (Views: 87.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:37:14 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:37:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:37:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:37:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:37:14 -0500 Started GET "/forums/subscriptions" for ::1 at 2015-01-14 00:37:19 -0500 Processing by MongoidForums::RedirectController#subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms Redirected to http://localhost:3000/forums/my_subscriptions Completed 302 Found in 3ms Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:37:19 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (13.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Completed 200 OK in 60ms (Views: 56.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:37:19 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:37:19 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:37:19 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:37:19 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:37:19 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:37:35 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (1.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (14.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4670ms Completed 200 OK in 47ms (Views: 40.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:37:35 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:37:35 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:37:35 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:37:35 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:37:35 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:37:46 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (1.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (16.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5670ms Completed 200 OK in 45ms (Views: 39.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:37:46 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:37:46 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:37:46 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:37:46 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:37:46 -0500 Started GET "/forums/topics/54b600864e65697404140000" for ::1 at 2015-01-14 00:37:48 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b600864e65697404140000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b600864e65697404140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4950ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}} runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.2200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (11.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4540ms Completed 200 OK in 40ms (Views: 34.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:37:48 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:37:48 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:37:48 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:37:48 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:37:48 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:37:52 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5450ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (15.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5700ms Completed 200 OK in 47ms (Views: 41.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:37:52 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:37:53 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:37:53 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:37:53 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:37:53 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:37:53 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (16.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5160ms Completed 200 OK in 50ms (Views: 44.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:37:53 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:37:53 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:37:53 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:37:53 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:37:53 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-14 00:37:57 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.9320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (57.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5090ms Completed 200 OK in 119ms (Views: 112.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:37:57 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:37:57 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:37:57 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:37:57 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:37:57 -0500 Started GET "/forums/my_topics" for ::1 at 2015-01-14 00:42:37 -0500 Processing by MongoidForums::TopicsController#my_topics as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.7450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 49ms Started GET "/forums/" for ::1 at 2015-01-14 00:42:37 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (64.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6740ms Completed 200 OK in 204ms (Views: 200.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:42:37 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:42:37 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:42:37 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:42:37 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:42:37 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-14 00:42:39 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (78.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5070ms Completed 200 OK in 115ms (Views: 108.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:42:40 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:42:40 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:42:40 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:42:40 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:42:40 -0500 Started GET "/forums/" for ::1 at 2015-01-14 00:42:58 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (31.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Completed 200 OK in 83ms (Views: 59.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:42:58 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:42:58 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:42:58 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:42:58 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:42:58 -0500 Started GET "/forums/topics" for ::1 at 2015-01-14 00:43:03 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"topics"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>"topics"} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.7570ms Completed 404 Not Found in 7ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) topics. Summary: When calling MongoidForums::Forum.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): topics ... (1 total) and the following ids were not found: topics. Resolution: Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.): mongoid (4.0.0) lib/mongoid/criteria.rb:475:in `check_for_missing_documents!' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:20:in `execute_or_raise' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:40:in `find' mongoid (4.0.0) lib/mongoid/findable.rb:90:in `find' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:10:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (27.2ms) Started GET "/forums/my_topics" for ::1 at 2015-01-14 00:43:06 -0500 Processing by MongoidForums::TopicsController#my_topics as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6260ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_topics.haml within layouts/mongoid_forums/application (0.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5340ms Completed 200 OK in 48ms (Views: 43.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:43:06 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:43:06 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:43:06 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:43:06 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:43:06 -0500 Started GET "/forums/my_topics" for ::1 at 2015-01-14 00:44:21 -0500 Processing by MongoidForums::TopicsController#my_topics as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}} runtime: 0.6530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{"last_post_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.4420ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (1.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_topics.haml within layouts/mongoid_forums/application (23.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5170ms Completed 200 OK in 48ms (Views: 43.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:44:22 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:44:22 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:44:22 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:44:22 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:44:22 -0500 Started GET "/forums/my_topics" for ::1 at 2015-01-14 00:44:50 -0500 Processing by MongoidForums::TopicsController#my_topics as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}} runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{"last_post_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.4080ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_topics.haml within layouts/mongoid_forums/application (20.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5360ms Completed 200 OK in 62ms (Views: 57.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:44:50 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:44:50 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:44:50 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:44:50 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:44:50 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:45:00 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7110ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (2.2ms) Completed 500 Internal Server Error in 21ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = paginate @topics 3: 4: - @topics.each do |sub| 5: = render partial: 'topic', :locals => {:topic => sub.subscribable} kaminari (0.15.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__175139518382999655_70209334887620' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (25.9ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:45:05 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (16.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5180ms Completed 200 OK in 41ms (Views: 35.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:45:05 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:45:05 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:45:05 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:45:05 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:45:05 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:45:46 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6430ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (2.0ms) Completed 500 Internal Server Error in 44ms ActionView::Template::Error (undefined method `current_page' for nil:NilClass): 1: %h2 Your subscriptions 2: = paginate @topics 3: 4: - @topics.each do |sub| 5: = render partial: 'topic', :locals => {:topic => sub.subscribable} kaminari (0.15.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__175139518382999655_70209371237180' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.6ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:45:59 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.2ms) Completed 500 Internal Server Error in 40ms ActionView::Template::Error (undefined method `current_page' for nil:NilClass): 1: %h2 Your subscriptions 2: = paginate @topics 3: 4: - @topics.each do |sub| 5: = render partial: 'topic', :locals => {:topic => sub.subscribable} kaminari (0.15.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__175139518382999655_70209371237180' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.9ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:46:36 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6430ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (1.4ms) Completed 500 Internal Server Error in 42ms ActionView::Template::Error (undefined method `current_page' for nil:NilClass): 1: %h2 Your subscriptions 2: = paginate @topics 3: 4: - @topics.each do |sub| 5: = render partial: 'topic', :locals => {:topic => sub.subscribable} kaminari (0.15.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__175139518382999655_70209371237180' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.1ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:46:36 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (0.9ms) Completed 500 Internal Server Error in 7ms ActionView::Template::Error (undefined method `current_page' for nil:NilClass): 1: %h2 Your subscriptions 2: = paginate @topics 3: 4: - @topics.each do |sub| 5: = render partial: 'topic', :locals => {:topic => sub.subscribable} kaminari (0.15.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__175139518382999655_70209371237180' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.9ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:46:49 -0500 SyntaxError (/Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:37: syntax error, unexpected tIVAR, expecting '(' @topics = @subscriptions.page(params[:page]).all.to_a ^): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:37: syntax error, unexpected tIVAR, expecting '(' @topics = @subscriptions.page(params[:page]).all.to_a ^ activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load' activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:647:in `new_constants_in' activesupport (4.2.0) lib/active_support/dependencies.rb:456:in `load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:354:in `require_or_load' activesupport (4.2.0) lib/active_support/dependencies.rb:494:in `load_missing_constant' activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' activesupport (4.2.0) lib/active_support/dependencies.rb:566:in `get' activesupport (4.2.0) lib/active_support/dependencies.rb:597:in `constantize' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (19.8ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:46:53 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8450ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (0.9ms) Completed 500 Internal Server Error in 40ms ActionView::Template::Error (undefined method `current_page' for #): 1: %h2 Your subscriptions 2: = paginate @topics 3: 4: - @topics.each do |sub| 5: = render partial: 'topic', :locals => {:topic => sub.subscribable} kaminari (0.15.1) lib/kaminari/helpers/action_view_extension.rb:18:in `paginate' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_subscriptions_haml__175139518382999655_70209371237180' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.2ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:47:03 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0280ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}} runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6760ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (38.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5900ms Completed 200 OK in 102ms (Views: 64.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:04 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:04 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:04 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:04 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:04 -0500 Started GET "/forums/" for ::1 at 2015-01-14 00:47:15 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (46.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4730ms Completed 200 OK in 98ms (Views: 69.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:15 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:15 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:15 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:15 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:15 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-14 00:47:16 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (63.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5210ms Completed 200 OK in 95ms (Views: 89.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:16 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:16 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:16 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:16 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:16 -0500 Started GET "/forums/54b163bf4e656920a7000000/new" for ::1 at 2015-01-14 00:47:17 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 2.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (56.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4950ms Completed 200 OK in 86ms (Views: 77.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:17 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:17 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:17 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:18 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:18 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:21 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b602e94e6569764c010000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:21 UTC, "created_at"=>2015-01-14 05:47:21 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8570ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b602e94e6569764c010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b602e94e6569764c010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7590ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b602e94e6569764c030000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b602e94e6569764c010000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:21 UTC, "created_at"=>2015-01-14 05:47:21 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b602e94e6569764c020000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b602e94e6569764c010000'), "updated_at"=>2015-01-14 05:47:21 UTC, "created_at"=>2015-01-14 05:47:21 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4830ms Redirected to http://localhost:3000/forums/topics/54b602e94e6569764c010000 Completed 302 Found in 33ms Started GET "/forums/topics/54b602e94e6569764c010000" for ::1 at 2015-01-14 00:47:21 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b602e94e6569764c010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b602e94e6569764c010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4680ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}} runtime: 0.6450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602e94e6569764c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (16.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5310ms Completed 200 OK in 106ms (Views: 99.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:21 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:21 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:21 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:21 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:21 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:24 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7490ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b602ec4e6569764c040000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:24 UTC, "created_at"=>2015-01-14 05:47:24 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7240ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b602ec4e6569764c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b602ec4e6569764c040000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b602ec4e6569764c060000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b602ec4e6569764c040000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:24 UTC, "created_at"=>2015-01-14 05:47:24 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b602ec4e6569764c050000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000'), "updated_at"=>2015-01-14 05:47:24 UTC, "created_at"=>2015-01-14 05:47:24 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4460ms Redirected to http://localhost:3000/forums/topics/54b602ec4e6569764c040000 Completed 302 Found in 20ms Started GET "/forums/topics/54b602ec4e6569764c040000" for ::1 at 2015-01-14 00:47:24 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b602ec4e6569764c040000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b602ec4e6569764c040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5630ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}} runtime: 0.6080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6420ms Completed 200 OK in 47ms (Views: 39.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:24 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:24 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:24 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:24 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:24 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:25 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b602ed4e6569764c070000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:25 UTC, "created_at"=>2015-01-14 05:47:25 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8920ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b602ed4e6569764c070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b602ed4e6569764c070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6010ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b602ed4e6569764c090000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b602ed4e6569764c070000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:25 UTC, "created_at"=>2015-01-14 05:47:25 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.9030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b602ed4e6569764c080000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000'), "updated_at"=>2015-01-14 05:47:25 UTC, "created_at"=>2015-01-14 05:47:25 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3830ms Redirected to http://localhost:3000/forums/topics/54b602ed4e6569764c070000 Completed 302 Found in 24ms Started GET "/forums/topics/54b602ed4e6569764c070000" for ::1 at 2015-01-14 00:47:25 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b602ed4e6569764c070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b602ed4e6569764c070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4740ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}} runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6420ms Completed 200 OK in 40ms (Views: 34.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:25 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:25 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:25 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:25 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:25 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:27 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:27 UTC, "created_at"=>2015-01-14 05:47:27 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8420ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b602ef4e6569764c0c0000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:27 UTC, "created_at"=>2015-01-14 05:47:27 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b602ef4e6569764c0b0000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000'), "updated_at"=>2015-01-14 05:47:27 UTC, "created_at"=>2015-01-14 05:47:27 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6180ms Redirected to http://localhost:3000/forums/topics/54b602ef4e6569764c0a0000 Completed 302 Found in 20ms Started GET "/forums/topics/54b602ef4e6569764c0a0000" for ::1 at 2015-01-14 00:47:27 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b602ef4e6569764c0a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5420ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}} runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7650ms Completed 200 OK in 51ms (Views: 43.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:27 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:27 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:27 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:27 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:27 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:28 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b602f04e6569764c0d0000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:28 UTC, "created_at"=>2015-01-14 05:47:28 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5200ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b602f04e6569764c0d0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b602f04e6569764c0d0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6820ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b602f04e6569764c0f0000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b602f04e6569764c0d0000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:28 UTC, "created_at"=>2015-01-14 05:47:28 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.1350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0070ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b602f04e6569764c0e0000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000'), "updated_at"=>2015-01-14 05:47:28 UTC, "created_at"=>2015-01-14 05:47:28 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4660ms Redirected to http://localhost:3000/forums/topics/54b602f04e6569764c0d0000 Completed 302 Found in 29ms Started GET "/forums/topics/54b602f04e6569764c0d0000" for ::1 at 2015-01-14 00:47:28 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b602f04e6569764c0d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6610ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}} runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5790ms Completed 200 OK in 40ms (Views: 32.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:28 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:28 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:28 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:28 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:28 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:29 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b602f14e6569764c100000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:29 UTC, "created_at"=>2015-01-14 05:47:29 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4640ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b602f14e6569764c100000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.5480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b602f14e6569764c100000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5880ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b602f14e6569764c120000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b602f14e6569764c100000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:29 UTC, "created_at"=>2015-01-14 05:47:29 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b602f14e6569764c110000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b602f14e6569764c100000'), "updated_at"=>2015-01-14 05:47:29 UTC, "created_at"=>2015-01-14 05:47:29 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4660ms Redirected to http://localhost:3000/forums/topics/54b602f14e6569764c100000 Completed 302 Found in 22ms Started GET "/forums/topics/54b602f14e6569764c100000" for ::1 at 2015-01-14 00:47:29 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b602f14e6569764c100000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b602f14e6569764c100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5680ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}} runtime: 1.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f14e6569764c100000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (13.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5640ms Completed 200 OK in 53ms (Views: 45.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:29 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:29 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:29 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:29 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:29 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:30 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b602f24e6569764c130000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:30 UTC, "created_at"=>2015-01-14 05:47:30 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4110ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b602f24e6569764c130000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b602f24e6569764c130000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b602f24e6569764c150000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b602f24e6569764c130000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:30 UTC, "created_at"=>2015-01-14 05:47:30 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f24e6569764c130000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b602f24e6569764c140000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b602f24e6569764c130000'), "updated_at"=>2015-01-14 05:47:30 UTC, "created_at"=>2015-01-14 05:47:30 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5930ms Redirected to http://localhost:3000/forums/topics/54b602f24e6569764c130000 Completed 302 Found in 15ms Started GET "/forums/topics/54b602f24e6569764c130000" for ::1 at 2015-01-14 00:47:30 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b602f24e6569764c130000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b602f24e6569764c130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5310ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f24e6569764c130000')}} runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f24e6569764c130000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f24e6569764c130000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4440ms Completed 200 OK in 33ms (Views: 24.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:30 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:30 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:30 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:30 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:30 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:32 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b602f44e6569764c160000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:32 UTC, "created_at"=>2015-01-14 05:47:32 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6650ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b602f44e6569764c160000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 2.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b602f44e6569764c160000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b602f44e6569764c180000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b602f44e6569764c160000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:32 UTC, "created_at"=>2015-01-14 05:47:32 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f44e6569764c160000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b602f44e6569764c170000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b602f44e6569764c160000'), "updated_at"=>2015-01-14 05:47:32 UTC, "created_at"=>2015-01-14 05:47:32 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4430ms Redirected to http://localhost:3000/forums/topics/54b602f44e6569764c160000 Completed 302 Found in 23ms Started GET "/forums/topics/54b602f44e6569764c160000" for ::1 at 2015-01-14 00:47:32 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b602f44e6569764c160000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b602f44e6569764c160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5560ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f44e6569764c160000')}} runtime: 0.8050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f44e6569764c160000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f44e6569764c160000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6800ms Completed 200 OK in 41ms (Views: 35.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:32 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:32 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:32 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:32 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:32 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:33 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b602f54e6569764c190000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:33 UTC, "created_at"=>2015-01-14 05:47:33 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6490ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b602f54e6569764c190000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.6060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b602f54e6569764c190000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6610ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b602f54e6569764c1b0000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b602f54e6569764c190000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:33 UTC, "created_at"=>2015-01-14 05:47:33 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f54e6569764c190000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b602f54e6569764c1a0000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b602f54e6569764c190000'), "updated_at"=>2015-01-14 05:47:33 UTC, "created_at"=>2015-01-14 05:47:33 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.5770ms Redirected to http://localhost:3000/forums/topics/54b602f54e6569764c190000 Completed 302 Found in 31ms Started GET "/forums/topics/54b602f54e6569764c190000" for ::1 at 2015-01-14 00:47:33 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b602f54e6569764c190000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b602f54e6569764c190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7460ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7590ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f54e6569764c190000')}} runtime: 1.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f54e6569764c190000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f54e6569764c190000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (12.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.5010ms Completed 200 OK in 53ms (Views: 42.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:33 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:33 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:33 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:33 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:33 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:34 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.7190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b602f64e6569764c1c0000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:34 UTC, "created_at"=>2015-01-14 05:47:34 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5680ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b602f64e6569764c1c0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b602f64e6569764c1c0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b602f64e6569764c1e0000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b602f64e6569764c1c0000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:34 UTC, "created_at"=>2015-01-14 05:47:34 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f64e6569764c1c0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6980ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b602f64e6569764c1d0000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b602f64e6569764c1c0000'), "updated_at"=>2015-01-14 05:47:34 UTC, "created_at"=>2015-01-14 05:47:34 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 4.6580ms Redirected to http://localhost:3000/forums/topics/54b602f64e6569764c1c0000 Completed 302 Found in 28ms Started GET "/forums/topics/54b602f64e6569764c1c0000" for ::1 at 2015-01-14 00:47:34 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b602f64e6569764c1c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b602f64e6569764c1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6010ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5930ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f64e6569764c1c0000')}} runtime: 1.7640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f64e6569764c1c0000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f64e6569764c1c0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (13.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4740ms Completed 200 OK in 59ms (Views: 48.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:34 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:34 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:34 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:34 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:34 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:35 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7980ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b602f74e6569764c1f0000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:35 UTC, "created_at"=>2015-01-14 05:47:35 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 2.1640ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b602f74e6569764c1f0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 1.7750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b602f74e6569764c1f0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4740ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b602f74e6569764c210000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b602f74e6569764c1f0000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:35 UTC, "created_at"=>2015-01-14 05:47:35 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f74e6569764c1f0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b602f74e6569764c200000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b602f74e6569764c1f0000'), "updated_at"=>2015-01-14 05:47:35 UTC, "created_at"=>2015-01-14 05:47:35 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3900ms Redirected to http://localhost:3000/forums/topics/54b602f74e6569764c1f0000 Completed 302 Found in 35ms Started GET "/forums/topics/54b602f74e6569764c1f0000" for ::1 at 2015-01-14 00:47:35 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b602f74e6569764c1f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b602f74e6569764c1f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.3700ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f74e6569764c1f0000')}} runtime: 0.6350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f74e6569764c1f0000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f74e6569764c1f0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8420ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (13.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.4610ms Completed 200 OK in 61ms (Views: 49.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:35 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:35 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:35 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:35 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:35 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:36 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b602f84e6569764c220000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:36 UTC, "created_at"=>2015-01-14 05:47:36 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.0280ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b602f84e6569764c220000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 3.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b602f84e6569764c220000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b602f84e6569764c240000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b602f84e6569764c220000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:36 UTC, "created_at"=>2015-01-14 05:47:36 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f84e6569764c220000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b602f84e6569764c230000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b602f84e6569764c220000'), "updated_at"=>2015-01-14 05:47:36 UTC, "created_at"=>2015-01-14 05:47:36 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5580ms Redirected to http://localhost:3000/forums/topics/54b602f84e6569764c220000 Completed 302 Found in 25ms Started GET "/forums/topics/54b602f84e6569764c220000" for ::1 at 2015-01-14 00:47:36 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b602f84e6569764c220000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b602f84e6569764c220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6420ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f84e6569764c220000')}} runtime: 1.1890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f84e6569764c220000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f84e6569764c220000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9020ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (14.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7910ms Completed 200 OK in 54ms (Views: 46.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:36 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:36 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:36 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:36 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:36 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:37 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7350ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b602f94e6569764c250000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:37 UTC, "created_at"=>2015-01-14 05:47:37 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5640ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b602f94e6569764c250000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b602f94e6569764c250000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7180ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b602f94e6569764c270000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b602f94e6569764c250000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:37 UTC, "created_at"=>2015-01-14 05:47:37 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 2.9930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f94e6569764c250000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8830ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b602f94e6569764c260000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b602f94e6569764c250000'), "updated_at"=>2015-01-14 05:47:37 UTC, "created_at"=>2015-01-14 05:47:37 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5510ms Redirected to http://localhost:3000/forums/topics/54b602f94e6569764c250000 Completed 302 Found in 27ms Started GET "/forums/topics/54b602f94e6569764c250000" for ::1 at 2015-01-14 00:47:37 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b602f94e6569764c250000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b602f94e6569764c250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4620ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f94e6569764c250000')}} runtime: 0.7720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f94e6569764c250000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f94e6569764c250000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (16.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5090ms Completed 200 OK in 50ms (Views: 43.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:37 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:37 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:37 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:37 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:37 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:38 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b602fa4e6569764c280000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:38 UTC, "created_at"=>2015-01-14 05:47:38 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5390ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b602fa4e6569764c280000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.6030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b602fa4e6569764c280000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9460ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b602fa4e6569764c2a0000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b602fa4e6569764c280000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:38 UTC, "created_at"=>2015-01-14 05:47:38 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.9150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602fa4e6569764c280000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b602fa4e6569764c290000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b602fa4e6569764c280000'), "updated_at"=>2015-01-14 05:47:38 UTC, "created_at"=>2015-01-14 05:47:38 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4410ms Redirected to http://localhost:3000/forums/topics/54b602fa4e6569764c280000 Completed 302 Found in 43ms Started GET "/forums/topics/54b602fa4e6569764c280000" for ::1 at 2015-01-14 00:47:38 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b602fa4e6569764c280000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b602fa4e6569764c280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2250ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.1240ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602fa4e6569764c280000')}} runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602fa4e6569764c280000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fa4e6569764c280000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (13.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6740ms Completed 200 OK in 62ms (Views: 48.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:38 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:38 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:38 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:38 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:38 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:39 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b602fb4e6569764c2b0000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:39 UTC, "created_at"=>2015-01-14 05:47:39 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7600ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b602fb4e6569764c2b0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 1.1460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b602fb4e6569764c2b0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8430ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b602fb4e6569764c2d0000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b602fb4e6569764c2b0000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:39 UTC, "created_at"=>2015-01-14 05:47:39 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602fb4e6569764c2b0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6920ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b602fb4e6569764c2c0000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b602fb4e6569764c2b0000'), "updated_at"=>2015-01-14 05:47:39 UTC, "created_at"=>2015-01-14 05:47:39 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.0040ms Redirected to http://localhost:3000/forums/topics/54b602fb4e6569764c2b0000 Completed 302 Found in 25ms Started GET "/forums/topics/54b602fb4e6569764c2b0000" for ::1 at 2015-01-14 00:47:39 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b602fb4e6569764c2b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.1350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b602fb4e6569764c2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3460ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5380ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602fb4e6569764c2b0000')}} runtime: 0.6530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602fb4e6569764c2b0000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fb4e6569764c2b0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6040ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (15.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2410ms Completed 200 OK in 60ms (Views: 49.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:39 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:39 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:39 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:39 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:39 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:40 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.6660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b602fc4e6569764c2e0000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:40 UTC, "created_at"=>2015-01-14 05:47:40 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5770ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b602fc4e6569764c2e0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b602fc4e6569764c2e0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3370ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b602fc4e6569764c300000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b602fc4e6569764c2e0000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:40 UTC, "created_at"=>2015-01-14 05:47:40 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602fc4e6569764c2e0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6120ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b602fc4e6569764c2f0000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b602fc4e6569764c2e0000'), "updated_at"=>2015-01-14 05:47:40 UTC, "created_at"=>2015-01-14 05:47:40 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4800ms Redirected to http://localhost:3000/forums/topics/54b602fc4e6569764c2e0000 Completed 302 Found in 28ms Started GET "/forums/topics/54b602fc4e6569764c2e0000" for ::1 at 2015-01-14 00:47:40 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b602fc4e6569764c2e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b602fc4e6569764c2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4480ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602fc4e6569764c2e0000')}} runtime: 1.6530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602fc4e6569764c2e0000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fc4e6569764c2e0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (12.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4790ms Completed 200 OK in 45ms (Views: 39.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:40 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:40 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:40 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:40 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:40 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:41 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.2240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b602fd4e6569764c310000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:41 UTC, "created_at"=>2015-01-14 05:47:41 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.6290ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b602fd4e6569764c310000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b602fd4e6569764c310000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b602fd4e6569764c330000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b602fd4e6569764c310000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:41 UTC, "created_at"=>2015-01-14 05:47:41 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602fd4e6569764c310000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b602fd4e6569764c320000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b602fd4e6569764c310000'), "updated_at"=>2015-01-14 05:47:41 UTC, "created_at"=>2015-01-14 05:47:41 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4220ms Redirected to http://localhost:3000/forums/topics/54b602fd4e6569764c310000 Completed 302 Found in 31ms Started GET "/forums/topics/54b602fd4e6569764c310000" for ::1 at 2015-01-14 00:47:41 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b602fd4e6569764c310000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b602fd4e6569764c310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.6830ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602fd4e6569764c310000')}} runtime: 0.7350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602fd4e6569764c310000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fd4e6569764c310000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (11.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5020ms Completed 200 OK in 50ms (Views: 40.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:41 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:41 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:41 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:41 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:41 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:41 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b602fd4e6569764c340000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:41 UTC, "created_at"=>2015-01-14 05:47:41 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6360ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b602fd4e6569764c340000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.9310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b602fd4e6569764c340000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 4.7510ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b602fd4e6569764c360000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b602fd4e6569764c340000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:41 UTC, "created_at"=>2015-01-14 05:47:41 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602fd4e6569764c340000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6520ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b602fd4e6569764c350000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b602fd4e6569764c340000'), "updated_at"=>2015-01-14 05:47:41 UTC, "created_at"=>2015-01-14 05:47:41 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6600ms Redirected to http://localhost:3000/forums/topics/54b602fd4e6569764c340000 Completed 302 Found in 25ms Started GET "/forums/topics/54b602fd4e6569764c340000" for ::1 at 2015-01-14 00:47:41 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b602fd4e6569764c340000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b602fd4e6569764c340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.6680ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602fd4e6569764c340000')}} runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602fd4e6569764c340000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fd4e6569764c340000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6100ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (13.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6190ms Completed 200 OK in 55ms (Views: 42.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:42 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:42 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:42 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:42 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b602fe4e6569764c370000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:42 UTC, "created_at"=>2015-01-14 05:47:42 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4750ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b602fe4e6569764c370000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b602fe4e6569764c370000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b602fe4e6569764c390000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b602fe4e6569764c370000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:42 UTC, "created_at"=>2015-01-14 05:47:42 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602fe4e6569764c370000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2080ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b602fe4e6569764c380000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b602fe4e6569764c370000'), "updated_at"=>2015-01-14 05:47:42 UTC, "created_at"=>2015-01-14 05:47:42 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.8020ms Redirected to http://localhost:3000/forums/topics/54b602fe4e6569764c370000 Completed 302 Found in 26ms Started GET "/forums/topics/54b602fe4e6569764c370000" for ::1 at 2015-01-14 00:47:42 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b602fe4e6569764c370000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b602fe4e6569764c370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5550ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602fe4e6569764c370000')}} runtime: 2.0060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602fe4e6569764c370000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fe4e6569764c370000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (13.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5100ms Completed 200 OK in 55ms (Views: 48.3ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:42 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:42 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:42 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:43 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b602ff4e6569764c3a0000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:43 UTC, "created_at"=>2015-01-14 05:47:43 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5620ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b602ff4e6569764c3a0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b602ff4e6569764c3a0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b602ff4e6569764c3c0000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b602ff4e6569764c3a0000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:43 UTC, "created_at"=>2015-01-14 05:47:43 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ff4e6569764c3a0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6480ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b602ff4e6569764c3b0000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b602ff4e6569764c3a0000'), "updated_at"=>2015-01-14 05:47:43 UTC, "created_at"=>2015-01-14 05:47:43 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4680ms Redirected to http://localhost:3000/forums/topics/54b602ff4e6569764c3a0000 Completed 302 Found in 21ms Started GET "/forums/topics/54b602ff4e6569764c3a0000" for ::1 at 2015-01-14 00:47:43 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b602ff4e6569764c3a0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b602ff4e6569764c3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5050ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ff4e6569764c3a0000')}} runtime: 1.2680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ff4e6569764c3a0000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602ff4e6569764c3a0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (10.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6120ms Completed 200 OK in 67ms (Views: 61.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:43 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:43 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:43 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:43 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:43 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:44 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.7830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8860ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b603004e6569764c3d0000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:44 UTC, "created_at"=>2015-01-14 05:47:44 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5280ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b603004e6569764c3d0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b603004e6569764c3d0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b603004e6569764c3f0000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b603004e6569764c3d0000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:44 UTC, "created_at"=>2015-01-14 05:47:44 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b603004e6569764c3d0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b603004e6569764c3e0000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b603004e6569764c3d0000'), "updated_at"=>2015-01-14 05:47:44 UTC, "created_at"=>2015-01-14 05:47:44 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6680ms Redirected to http://localhost:3000/forums/topics/54b603004e6569764c3d0000 Completed 302 Found in 23ms Started GET "/forums/topics/54b603004e6569764c3d0000" for ::1 at 2015-01-14 00:47:44 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b603004e6569764c3d0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b603004e6569764c3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7240ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5960ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b603004e6569764c3d0000')}} runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b603004e6569764c3d0000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603004e6569764c3d0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (13.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5890ms Completed 200 OK in 51ms (Views: 40.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:44 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:44 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:44 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:44 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:44 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:45 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b603014e6569764c400000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:45 UTC, "created_at"=>2015-01-14 05:47:45 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.8220ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b603014e6569764c400000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.8210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b603014e6569764c400000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9070ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b603014e6569764c420000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b603014e6569764c400000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:45 UTC, "created_at"=>2015-01-14 05:47:45 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b603014e6569764c400000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b603014e6569764c410000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b603014e6569764c400000'), "updated_at"=>2015-01-14 05:47:45 UTC, "created_at"=>2015-01-14 05:47:45 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5100ms Redirected to http://localhost:3000/forums/topics/54b603014e6569764c400000 Completed 302 Found in 36ms Started GET "/forums/topics/54b603014e6569764c400000" for ::1 at 2015-01-14 00:47:45 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b603014e6569764c400000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.0010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b603014e6569764c400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5630ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b603014e6569764c400000')}} runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b603014e6569764c400000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603014e6569764c400000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (12.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.7500ms Completed 200 OK in 57ms (Views: 46.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:45 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:45 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:45 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:45 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:45 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:46 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 7.0910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b603024e6569764c430000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:46 UTC, "created_at"=>2015-01-14 05:47:46 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.1750ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b603024e6569764c430000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 1.8750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b603024e6569764c430000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b603024e6569764c450000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b603024e6569764c430000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:46 UTC, "created_at"=>2015-01-14 05:47:46 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b603024e6569764c430000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b603024e6569764c440000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b603024e6569764c430000'), "updated_at"=>2015-01-14 05:47:46 UTC, "created_at"=>2015-01-14 05:47:46 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4910ms Redirected to http://localhost:3000/forums/topics/54b603024e6569764c430000 Completed 302 Found in 34ms Started GET "/forums/topics/54b603024e6569764c430000" for ::1 at 2015-01-14 00:47:46 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b603024e6569764c430000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b603024e6569764c430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7360ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b603024e6569764c430000')}} runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b603024e6569764c430000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603024e6569764c430000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6670ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5680ms Completed 200 OK in 49ms (Views: 42.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:46 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:46 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:46 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:46 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:46 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:46 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.3690ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b603024e6569764c460000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:46 UTC, "created_at"=>2015-01-14 05:47:46 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 2.4200ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b603024e6569764c460000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.8000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b603024e6569764c460000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.4790ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b603024e6569764c480000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b603024e6569764c460000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:46 UTC, "created_at"=>2015-01-14 05:47:46 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b603024e6569764c460000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6460ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b603024e6569764c470000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b603024e6569764c460000'), "updated_at"=>2015-01-14 05:47:46 UTC, "created_at"=>2015-01-14 05:47:46 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5880ms Redirected to http://localhost:3000/forums/topics/54b603024e6569764c460000 Completed 302 Found in 39ms Started GET "/forums/topics/54b603024e6569764c460000" for ::1 at 2015-01-14 00:47:46 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b603024e6569764c460000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b603024e6569764c460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8920ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b603024e6569764c460000')}} runtime: 0.6070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b603024e6569764c460000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603024e6569764c460000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.8830ms Completed 200 OK in 53ms (Views: 45.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:47 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:47 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:47 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:47 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:47 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:47 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b603034e6569764c490000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:47 UTC, "created_at"=>2015-01-14 05:47:47 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4730ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b603034e6569764c490000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b603034e6569764c490000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b603034e6569764c4b0000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b603034e6569764c490000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:47 UTC, "created_at"=>2015-01-14 05:47:47 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b603034e6569764c490000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6660ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b603034e6569764c4a0000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b603034e6569764c490000'), "updated_at"=>2015-01-14 05:47:47 UTC, "created_at"=>2015-01-14 05:47:47 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.9290ms Redirected to http://localhost:3000/forums/topics/54b603034e6569764c490000 Completed 302 Found in 24ms Started GET "/forums/topics/54b603034e6569764c490000" for ::1 at 2015-01-14 00:47:47 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b603034e6569764c490000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b603034e6569764c490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6140ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b603034e6569764c490000')}} runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b603034e6569764c490000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603034e6569764c490000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5080ms Completed 200 OK in 54ms (Views: 46.5ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:47 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:47 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:47 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:47 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:47 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:48 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b603044e6569764c4c0000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:48 UTC, "created_at"=>2015-01-14 05:47:48 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5400ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b603044e6569764c4c0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b603044e6569764c4c0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b603044e6569764c4e0000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b603044e6569764c4c0000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:48 UTC, "created_at"=>2015-01-14 05:47:48 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b603044e6569764c4c0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b603044e6569764c4d0000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b603044e6569764c4c0000'), "updated_at"=>2015-01-14 05:47:48 UTC, "created_at"=>2015-01-14 05:47:48 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4040ms Redirected to http://localhost:3000/forums/topics/54b603044e6569764c4c0000 Completed 302 Found in 18ms Started GET "/forums/topics/54b603044e6569764c4c0000" for ::1 at 2015-01-14 00:47:48 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b603044e6569764c4c0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b603044e6569764c4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5060ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b603044e6569764c4c0000')}} runtime: 0.6400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b603044e6569764c4c0000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603044e6569764c4c0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5450ms Completed 200 OK in 69ms (Views: 62.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:48 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:48 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:48 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:48 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:48 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:50 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b603064e6569764c4f0000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:50 UTC, "created_at"=>2015-01-14 05:47:50 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4910ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b603064e6569764c4f0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b603064e6569764c4f0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b603064e6569764c510000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b603064e6569764c4f0000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:50 UTC, "created_at"=>2015-01-14 05:47:50 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b603064e6569764c4f0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b603064e6569764c500000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b603064e6569764c4f0000'), "updated_at"=>2015-01-14 05:47:50 UTC, "created_at"=>2015-01-14 05:47:50 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4220ms Redirected to http://localhost:3000/forums/topics/54b603064e6569764c4f0000 Completed 302 Found in 24ms Started GET "/forums/topics/54b603064e6569764c4f0000" for ::1 at 2015-01-14 00:47:50 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b603064e6569764c4f0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b603064e6569764c4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5940ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b603064e6569764c4f0000')}} runtime: 0.8210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b603064e6569764c4f0000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.9040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603064e6569764c4f0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (13.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.6270ms Completed 200 OK in 74ms (Views: 62.8ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:50 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3060ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b603064e6569764c520000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:50 UTC, "created_at"=>2015-01-14 05:47:50 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 6.0550ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b603064e6569764c520000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 1.0170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b603064e6569764c520000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1810ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b603064e6569764c540000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b603064e6569764c520000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:50 UTC, "created_at"=>2015-01-14 05:47:50 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b603064e6569764c520000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6520ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b603064e6569764c530000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b603064e6569764c520000'), "updated_at"=>2015-01-14 05:47:50 UTC, "created_at"=>2015-01-14 05:47:50 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4910ms Redirected to http://localhost:3000/forums/topics/54b603064e6569764c520000 Completed 302 Found in 32ms Started GET "/forums/topics/54b603064e6569764c520000" for ::1 at 2015-01-14 00:47:50 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b603064e6569764c520000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b603064e6569764c520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5360ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b603064e6569764c520000')}} runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b603064e6569764c520000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603064e6569764c520000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (7.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5300ms Completed 200 OK in 37ms (Views: 30.7ms) Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:50 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:50 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:50 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:50 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:50 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:51 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b603074e6569764c550000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:51 UTC, "created_at"=>2015-01-14 05:47:51 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4680ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b603074e6569764c550000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.6340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b603074e6569764c550000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b603074e6569764c570000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b603074e6569764c550000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:51 UTC, "created_at"=>2015-01-14 05:47:51 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b603074e6569764c550000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6770ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b603074e6569764c560000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b603074e6569764c550000'), "updated_at"=>2015-01-14 05:47:51 UTC, "created_at"=>2015-01-14 05:47:51 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5930ms Redirected to http://localhost:3000/forums/topics/54b603074e6569764c550000 Completed 302 Found in 30ms Started GET "/forums/topics/54b603074e6569764c550000" for ::1 at 2015-01-14 00:47:51 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b603074e6569764c550000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b603074e6569764c550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4770ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b603074e6569764c550000')}} runtime: 0.6230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b603074e6569764c550000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.6680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603074e6569764c550000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (12.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.9280ms Completed 200 OK in 56ms (Views: 46.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:51 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:51 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:51 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:51 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:51 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:52 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b603084e6569764c580000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:52 UTC, "created_at"=>2015-01-14 05:47:52 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.7170ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b603084e6569764c580000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 1.8180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b603084e6569764c580000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b603084e6569764c5a0000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b603084e6569764c580000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:52 UTC, "created_at"=>2015-01-14 05:47:52 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b603084e6569764c580000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6580ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b603084e6569764c590000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b603084e6569764c580000'), "updated_at"=>2015-01-14 05:47:52 UTC, "created_at"=>2015-01-14 05:47:52 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4090ms Redirected to http://localhost:3000/forums/topics/54b603084e6569764c580000 Completed 302 Found in 23ms Started GET "/forums/topics/54b603084e6569764c580000" for ::1 at 2015-01-14 00:47:52 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b603084e6569764c580000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b603084e6569764c580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3880ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8400ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b603084e6569764c580000')}} runtime: 0.8050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b603084e6569764c580000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603084e6569764c580000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (12.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4810ms Completed 200 OK in 63ms (Views: 50.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:52 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:52 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:52 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:52 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:52 -0500 Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:53 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7910ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b603094e6569764c5b0000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:53 UTC, "created_at"=>2015-01-14 05:47:53 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7090ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b603094e6569764c5b0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 1.2270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b603094e6569764c5b0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1920ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b603094e6569764c5d0000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b603094e6569764c5b0000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:53 UTC, "created_at"=>2015-01-14 05:47:53 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 2.2410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b603094e6569764c5b0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b603094e6569764c5c0000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b603094e6569764c5b0000'), "updated_at"=>2015-01-14 05:47:53 UTC, "created_at"=>2015-01-14 05:47:53 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6840ms Redirected to http://localhost:3000/forums/topics/54b603094e6569764c5b0000 Completed 302 Found in 38ms Started GET "/forums/topics/54b603094e6569764c5b0000" for ::1 at 2015-01-14 00:47:53 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b603094e6569764c5b0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b603094e6569764c5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.2800ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b603094e6569764c5b0000')}} runtime: 0.6870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b603094e6569764c5b0000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603094e6569764c5b0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6510ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (13.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.9230ms Completed 200 OK in 69ms (Views: 58.0ms) Started POST "/forums/54b163bf4e656920a7000000/create" for ::1 at 2015-01-14 00:47:53 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KNSxsDSuGYROreYnHREDMDiv8hvjw1LgxTbt9wIbdCwU1ye+SFT7D9NJs55F+ptdjCTmwqr9oFlILYYwqm/EzQ==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b603094e6569764c5e0000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "updated_at"=>2015-01-14 05:47:53 UTC, "created_at"=>2015-01-14 05:47:53 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5320ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b603094e6569764c5e0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b603094e6569764c5e0000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b603094e6569764c600000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b603094e6569764c5e0000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-14 05:47:53 UTC, "created_at"=>2015-01-14 05:47:53 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b603094e6569764c5e0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b603094e6569764c5f0000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('54b603094e6569764c5e0000'), "updated_at"=>2015-01-14 05:47:53 UTC, "created_at"=>2015-01-14 05:47:53 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5610ms Redirected to http://localhost:3000/forums/topics/54b603094e6569764c5e0000 Completed 302 Found in 20ms Started GET "/forums/topics/54b603094e6569764c5e0000" for ::1 at 2015-01-14 00:47:53 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b603094e6569764c5e0000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b603094e6569764c5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5740ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b603094e6569764c5e0000')}} runtime: 2.2190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b603094e6569764c5e0000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603094e6569764c5e0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (13.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5140ms Completed 200 OK in 50ms (Views: 41.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:53 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:53 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:53 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:53 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:53 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:47:57 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0750ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}} runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.7190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603094e6569764c5e0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603094e6569764c5b0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603084e6569764c580000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603074e6569764c550000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603064e6569764c520000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603064e6569764c4f0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603044e6569764c4c0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603034e6569764c490000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603024e6569764c460000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603024e6569764c430000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3140ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603014e6569764c400000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603004e6569764c3d0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602ff4e6569764c3a0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fe4e6569764c370000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fd4e6569764c340000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fd4e6569764c310000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fc4e6569764c2e0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fb4e6569764c2b0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fa4e6569764c280000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f94e6569764c250000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f84e6569764c220000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f74e6569764c1f0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f64e6569764c1c0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f54e6569764c190000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f44e6569764c160000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (88.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4920ms Completed 200 OK in 117ms (Views: 110.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:47:57 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:47:57 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:47:57 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:47:57 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:47:57 -0500 Started GET "/forums/my_subscriptions?page=2" for ::1 at 2015-01-14 00:48:00 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML Parameters: {"page"=>"2"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=25 batch_size=nil fields=nil runtime: 0.9220ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}} runtime: 0.6070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=25 batch_size=nil fields=nil runtime: 1.9990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f24e6569764c130000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f14e6569764c100000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6710ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602e94e6569764c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (47.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5870ms Completed 200 OK in 78ms (Views: 71.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:48:00 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:48:00 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:48:00 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:48:00 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:48:00 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:48:02 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 3.6890ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}} runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.2730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603094e6569764c5e0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603094e6569764c5b0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603084e6569764c580000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603074e6569764c550000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603064e6569764c520000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603064e6569764c4f0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603044e6569764c4c0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603034e6569764c490000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603024e6569764c460000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603024e6569764c430000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603014e6569764c400000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603004e6569764c3d0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602ff4e6569764c3a0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fe4e6569764c370000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fd4e6569764c340000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fd4e6569764c310000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fc4e6569764c2e0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fb4e6569764c2b0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fa4e6569764c280000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f94e6569764c250000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f84e6569764c220000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f74e6569764c1f0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f64e6569764c1c0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f54e6569764c190000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f44e6569764c160000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (69.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5300ms Completed 200 OK in 103ms (Views: 93.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:48:02 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:48:02 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:48:02 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:48:02 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:48:02 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:48:05 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1640ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}} runtime: 1.0330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603094e6569764c5e0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7060ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603094e6569764c5b0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603084e6569764c580000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603074e6569764c550000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603064e6569764c520000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603064e6569764c4f0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6580ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603044e6569764c4c0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603034e6569764c490000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603024e6569764c460000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603024e6569764c430000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603014e6569764c400000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603004e6569764c3d0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602ff4e6569764c3a0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fe4e6569764c370000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fd4e6569764c340000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fd4e6569764c310000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3150ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fc4e6569764c2e0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fb4e6569764c2b0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fa4e6569764c280000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f94e6569764c250000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f84e6569764c220000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f74e6569764c1f0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f64e6569764c1c0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f54e6569764c190000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f44e6569764c160000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (67.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4940ms Completed 200 OK in 98ms (Views: 92.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:48:05 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:48:05 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:48:05 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:48:05 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:48:05 -0500 Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:48:09 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.4470ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}} runtime: 0.6680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603094e6569764c5e0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603094e6569764c5b0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603084e6569764c580000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603074e6569764c550000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603064e6569764c520000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603064e6569764c4f0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603044e6569764c4c0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7350ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603034e6569764c490000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603024e6569764c460000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603024e6569764c430000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603014e6569764c400000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5710ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603004e6569764c3d0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602ff4e6569764c3a0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fe4e6569764c370000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fd4e6569764c340000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fd4e6569764c310000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fc4e6569764c2e0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fb4e6569764c2b0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fa4e6569764c280000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f94e6569764c250000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f84e6569764c220000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f74e6569764c1f0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f64e6569764c1c0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5980ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f54e6569764c190000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f44e6569764c160000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (73.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5650ms Completed 200 OK in 123ms (Views: 116.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:48:10 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:48:10 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:48:10 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:48:10 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:48:10 -0500 Started GET "/forums/my_topics" for ::1 at 2015-01-14 00:48:12 -0500 Processing by MongoidForums::TopicsController#my_topics as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6050ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}} runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{"last_post_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3300ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_topics.haml within layouts/mongoid_forums/application (29.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Completed 200 OK in 56ms (Views: 50.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:48:12 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:48:12 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:48:12 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:48:12 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:48:12 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-14 00:48:14 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7420ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}} runtime: 0.6430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (13.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5080ms Completed 200 OK in 57ms (Views: 51.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:48:14 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:48:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:48:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:48:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:48:14 -0500 Started GET "/forums/my_topics" for ::1 at 2015-01-14 00:48:59 -0500 Processing by MongoidForums::TopicsController#my_topics as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6950ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}} runtime: 0.6590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{"last_post_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.5380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_topics.haml within layouts/mongoid_forums/application (36.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6600ms Completed 200 OK in 104ms (Views: 66.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:48:59 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:48:59 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:48:59 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:48:59 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:48:59 -0500 Started GET "/forums/my_posts" for ::1 at 2015-01-14 00:49:04 -0500 Processing by MongoidForums::TopicsController#my_posts as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Completed 500 Internal Server Error in 13ms NoMethodError (undefined method `by_updated_at' for #): mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:42:in `my_posts' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (20.8ms) Started GET "/forums/my_posts" for ::1 at 2015-01-14 00:49:29 -0500 Processing by MongoidForums::TopicsController#my_posts as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6790ms Completed 500 Internal Server Error in 5ms NoMethodError (undefined method `by_updated_at' for #): mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:42:in `my_posts' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (17.3ms) Started GET "/forums/my_posts" for ::1 at 2015-01-14 00:49:30 -0500 Processing by MongoidForums::TopicsController#my_posts as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms Completed 500 Internal Server Error in 4ms NoMethodError (undefined method `by_updated_at' for #): mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:42:in `my_posts' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (20.4ms) Started GET "/forums/my_posts" for ::1 at 2015-01-14 00:49:34 -0500 Processing by MongoidForums::TopicsController#my_posts as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms Completed 500 Internal Server Error in 3ms NoMethodError (undefined method `by_updated_at' for #): mongoid (4.0.0) lib/mongoid/criteria.rb:523:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:42:in `my_posts' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (24.0ms) Started GET "/forums/my_subscriptions" for ::1 at 2015-01-14 00:50:34 -0500 Processing by MongoidForums::TopicsController#my_subscriptions as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.9480ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}} runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603094e6569764c5e0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5790ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (1.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603094e6569764c5b0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603084e6569764c580000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603074e6569764c550000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603064e6569764c520000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603064e6569764c4f0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3050ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603044e6569764c4c0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603034e6569764c490000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603024e6569764c460000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603024e6569764c430000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603014e6569764c400000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603004e6569764c3d0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602ff4e6569764c3a0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fe4e6569764c370000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fd4e6569764c340000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fd4e6569764c310000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fc4e6569764c2e0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fb4e6569764c2b0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fa4e6569764c280000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f94e6569764c250000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f84e6569764c220000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f74e6569764c1f0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f64e6569764c1c0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f54e6569764c190000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f44e6569764c160000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_topic.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_subscriptions.haml within layouts/mongoid_forums/application (71.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5440ms Completed 200 OK in 138ms (Views: 100.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:50:34 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:50:34 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:50:34 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:50:34 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:50:34 -0500 Started GET "/forums/my_posts" for ::1 at 2015-01-14 00:50:38 -0500 Processing by MongoidForums::TopicsController#my_posts as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}} runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.1320ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_post.haml (2.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_posts.haml within layouts/mongoid_forums/application (18.0ms) Completed 500 Internal Server Error in 34ms ActionView::Template::Error (undefined method `name' for #): 1: %br 2: = link_to post.name, post /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_post.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics__post_haml__1241159104444798707_70209335151220' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:32:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_posts.haml:6:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_posts_haml__1908870340400826536_70209362898840' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_posts.haml:5:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_posts_haml__1908870340400826536_70209362898840' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (27.9ms) Started GET "/forums/my_posts" for ::1 at 2015-01-14 00:51:05 -0500 Processing by MongoidForums::TopicsController#my_posts as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7760ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}} runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3560ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_post.haml (19.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_posts.haml within layouts/mongoid_forums/application (33.3ms) Completed 500 Internal Server Error in 76ms ActionView::Template::Error (undefined method `post_path' for #<#:0x007fb5c808a9c8>): 1: %br 2: = link_to post.text, post actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:268:in `handle_model_call' actionview (4.2.0) lib/action_view/routing_url_for.rb:113:in `url_for' actionview (4.2.0) lib/action_view/helpers/url_helper.rb:181:in `link_to' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_post.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics__post_haml__1241159104444798707_70209334288640' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:32:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_posts.haml:6:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_posts_haml__1908870340400826536_70209362898840' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_posts.haml:5:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_posts_haml__1908870340400826536_70209362898840' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.6ms) Started GET "/forums/my_posts" for ::1 at 2015-01-14 00:51:15 -0500 Processing by MongoidForums::TopicsController#my_posts as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}} runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.1950ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_post.haml (1.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_posts.haml within layouts/mongoid_forums/application (14.1ms) Completed 500 Internal Server Error in 21ms ActionView::Template::Error (No route matches {:action=>"show", :controller=>"mongoid_forums/posts", :format=>nil, :id=>nil, :topic_id=>#} missing required keys: [:id]): 1: %br 2: = link_to post.text, topic_post_path(post) actionpack (4.2.0) lib/action_dispatch/journey/formatter.rb:46:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:710:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:741:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:784:in `url_for' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:279:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:222:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:334:in `block (2 levels) in define_url_helper' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/_post.haml:2:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics__post_haml__1241159104444798707_70209361859700' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/renderer/renderer.rb:21:in `render' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:32:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_posts.haml:6:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_posts_haml__1908870340400826536_70209362898840' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_posts.haml:5:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_my_posts_haml__1908870340400826536_70209362898840' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (24.0ms) Started GET "/forums/my_posts" for ::1 at 2015-01-14 00:52:19 -0500 Processing by MongoidForums::TopicsController#my_posts as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6550ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}} runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.6680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603094e6569764c5e0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5730ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (18.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603094e6569764c5b0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603084e6569764c580000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603074e6569764c550000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603064e6569764c520000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603064e6569764c4f0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603044e6569764c4c0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603034e6569764c490000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603024e6569764c460000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603024e6569764c430000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603014e6569764c400000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b603004e6569764c3d0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602ff4e6569764c3a0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fe4e6569764c370000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fd4e6569764c340000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.9490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fd4e6569764c310000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fc4e6569764c2e0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fb4e6569764c2b0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602fa4e6569764c280000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f94e6569764c250000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f84e6569764c220000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f74e6569764c1f0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f64e6569764c1c0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f54e6569764c190000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f44e6569764c160000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_posts.haml within layouts/mongoid_forums/application (132.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5250ms Completed 200 OK in 187ms (Views: 181.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:52:19 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:52:19 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:52:19 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:52:19 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:52:19 -0500 Started GET "/forums/my_posts?page=2" for ::1 at 2015-01-14 00:52:31 -0500 Processing by MongoidForums::TopicsController#my_posts as HTML Parameters: {"page"=>"2"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}} runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=25 batch_size=nil fields=nil runtime: 1.1150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f24e6569764c130000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f14e6569764c100000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3090ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602e94e6569764c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3080ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3070ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/my_posts.haml within layouts/mongoid_forums/application (108.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5850ms Completed 200 OK in 137ms (Views: 132.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:52:31 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:52:31 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:52:31 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:52:31 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:52:31 -0500 Started GET "/forums/topics/54b602f24e6569764c130000/posts/54b602f24e6569764c140000/edit" for ::1 at 2015-01-14 00:52:33 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b602f24e6569764c130000", "id"=>"54b602f24e6569764c140000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b602f24e6569764c140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b602f24e6569764c130000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml within layouts/mongoid_forums/application (6.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4820ms Completed 200 OK in 46ms (Views: 40.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:52:33 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:52:33 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:52:33 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:52:33 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:52:33 -0500 Started GET "/forums/" for ::1 at 2015-01-14 00:58:06 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.8110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (60.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5360ms Completed 200 OK in 196ms (Views: 162.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:58:06 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:58:06 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:58:06 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:58:06 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:58:06 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-14 00:58:08 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (102.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5380ms Completed 200 OK in 146ms (Views: 137.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:58:08 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:58:08 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:58:08 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:58:08 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:58:08 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-14 00:58:09 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5550ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}} runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.1850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (60.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (84.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4910ms Completed 200 OK in 125ms (Views: 116.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:58:09 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:58:09 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:58:09 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:58:09 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:58:09 -0500 Started GET "/forums/" for ::1 at 2015-01-14 00:58:17 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.7080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (11.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4900ms Completed 200 OK in 48ms (Views: 43.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:58:17 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:58:17 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:58:17 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:58:17 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:58:17 -0500 Started GET "/forums/admin" for ::1 at 2015-01-14 00:58:23 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-01-14 00:58:23 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.7950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (10.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4830ms Completed 200 OK in 36ms (Views: 33.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:58:23 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:58:23 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:58:23 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:58:23 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:58:23 -0500 Started GET "/" for ::1 at 2015-01-14 00:58:27 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.4ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms Rendered partials/_nav.haml (4.2ms) Completed 200 OK in 28ms (Views: 27.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:58:27 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:58:27 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:58:27 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:58:27 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:58:27 -0500 Started GET "/users/sign_out" for ::1 at 2015-01-14 00:58:28 -0500 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Redirected to http://localhost:3000/ Completed 302 Found in 9ms Started GET "/" for ::1 at 2015-01-14 00:58:28 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) Rendered partials/_nav.haml (6.1ms) Completed 200 OK in 26ms (Views: 26.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:58:28 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:58:28 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:58:28 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:58:28 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:58:28 -0500 Started GET "/users/sign_in" for ::1 at 2015-01-14 00:58:30 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (9.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (31.3ms) Rendered partials/_nav.haml (0.3ms) Completed 200 OK in 64ms (Views: 59.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:58:30 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:58:30 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:58:30 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:58:30 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:58:30 -0500 Started POST "/users/sign_in" for ::1 at 2015-01-14 00:58:34 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"4QlNZ7C6KsHqHpRXcemuq7fipvyrh88Pe+Vrxse/Nbot60Toi/XDFLnvV1eEVZ0nfc58FzPImzEfAM90UR/1wQ==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"neilj.ny@gmail.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"last_sign_in_at"=>2015-01-14 05:35:46 UTC, "current_sign_in_at"=>2015-01-14 05:58:35 UTC, "sign_in_count"=>14}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5810ms Redirected to http://localhost:3000/ Completed 302 Found in 93ms Started GET "/" for ::1 at 2015-01-14 00:58:35 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms Rendered partials/_nav.haml (1.9ms) Completed 200 OK in 25ms (Views: 24.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:58:35 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:58:35 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:58:35 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:58:35 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:58:35 -0500 Started GET "/forums/admin" for ::1 at 2015-01-14 00:58:42 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms Redirected to http://localhost:3000/forums/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms Started GET "/forums/" for ::1 at 2015-01-14 00:58:42 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (10.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6580ms Completed 200 OK in 38ms (Views: 34.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:58:42 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:58:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:58:42 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:58:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:58:42 -0500 Started GET "/forums/" for ::1 at 2015-01-14 00:59:02 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (11.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4780ms Completed 200 OK in 37ms (Views: 33.8ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:59:02 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:59:02 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:59:03 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:59:03 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:59:03 -0500 Started GET "/forums/admin" for ::1 at 2015-01-14 00:59:04 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (1.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4760ms Completed 200 OK in 45ms (Views: 41.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:59:05 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:59:05 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:59:05 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:59:05 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:59:05 -0500 Started GET "/forums/admin/categories/new" for ::1 at 2015-01-14 00:59:06 -0500 Processing by MongoidForums::Admin::CategoriesController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0110ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/categories/new.haml within layouts/mongoid_forums/application (59.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4810ms Completed 200 OK in 98ms (Views: 89.8ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:59:06 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:59:06 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:59:06 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:59:06 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:59:06 -0500 Started POST "/forums/admin/categories" for ::1 at 2015-01-14 00:59:08 -0500 Processing by MongoidForums::Admin::CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"WCAOxHFyqZKULaDDB3fDORHj44IBdDBAc7b1YPzv83AvVl4hr+Op2Io5JiX2YNWsWYIqlrxfGgMLu1q96QSHBA==", "category"=>{"name"=>"xfgfgdg"}, "commit"=>"Create Category"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_categories documents=[{"_id"=>BSON::ObjectId('54b605ac4e65697843000000'), "order"=>0, "name"=>"xfgfgdg"}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4740ms Redirected to http://localhost:3000/forums/ Completed 302 Found in 6ms Started GET "/forums/" for ::1 at 2015-01-14 00:59:08 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.6640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3460ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (13.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5620ms Completed 200 OK in 43ms (Views: 38.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:59:08 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:59:08 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:59:08 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:59:08 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:59:08 -0500 Started GET "/forums/" for ::1 at 2015-01-14 00:59:10 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.7200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (11.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5430ms Completed 200 OK in 39ms (Views: 35.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:59:10 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:59:10 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:59:10 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:59:10 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:59:10 -0500 Started GET "/forums/" for ::1 at 2015-01-14 00:59:23 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3240ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (11.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5040ms Completed 200 OK in 33ms (Views: 30.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:59:23 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:59:23 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:59:23 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:59:23 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:59:23 -0500 Started GET "/forums/" for ::1 at 2015-01-14 00:59:24 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.7930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3460ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (12.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7760ms Completed 200 OK in 38ms (Views: 34.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:59:24 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:59:24 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:59:24 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:59:24 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:59:24 -0500 Started GET "/forums/" for ::1 at 2015-01-14 00:59:47 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.2090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.3590ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (17.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4560ms Completed 200 OK in 44ms (Views: 38.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 00:59:47 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 00:59:47 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 00:59:47 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 00:59:47 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 00:59:47 -0500 Started GET "/forums/admin" for ::1 at 2015-01-14 01:00:01 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5480ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (0.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4890ms Completed 200 OK in 60ms (Views: 35.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 01:00:01 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 01:00:01 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 01:00:01 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 01:00:01 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 01:00:01 -0500 Started GET "/forums/admin/forums/new" for ::1 at 2015-01-14 01:00:03 -0500 Processing by MongoidForums::Admin::ForumsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4400ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/forums/new.haml within layouts/mongoid_forums/application (12.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4580ms Completed 200 OK in 46ms (Views: 36.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 01:00:03 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 01:00:03 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 01:00:03 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 01:00:03 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 01:00:03 -0500 Started POST "/forums/admin/forums" for ::1 at 2015-01-14 01:00:07 -0500 Processing by MongoidForums::Admin::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"+JTLV/Xty1ex1eVM980yXlcZHsVdjVtZFmEc95/0DouP4puyK3zLHa/BY6oG2iTLH3jX0eCmcRpubLMqih96/w==", "forum"=>{"name"=>"B", "category"=>"54b162224e65691fd7000000"}, "commit"=>"Create Forum"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6010ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_forums documents=[{"_id"=>BSON::ObjectId('54b605e74e65697843010000'), "order"=>0, "name"=>"B", "category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5600ms Redirected to http://localhost:3000/forums/54b605e74e65697843010000 Completed 302 Found in 19ms Started GET "/forums/54b605e74e65697843010000" for ::1 at 2015-01-14 01:00:07 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605e74e65697843010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605e74e65697843010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6260ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (1.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4580ms Completed 200 OK in 31ms (Views: 25.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 01:00:08 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 01:00:08 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 01:00:08 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 01:00:08 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 01:00:08 -0500 Started GET "/forums/" for ::1 at 2015-01-14 01:00:11 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.6990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (26.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6560ms Completed 200 OK in 52ms (Views: 49.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 01:00:12 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 01:00:12 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 01:00:12 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 01:00:12 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 01:00:12 -0500 Started GET "/forums/admin" for ::1 at 2015-01-14 01:00:15 -0500 Processing by MongoidForums::Admin::BaseController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (0.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4440ms Completed 200 OK in 25ms (Views: 22.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 01:00:15 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 01:00:15 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 01:00:15 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 01:00:15 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 01:00:15 -0500 Started GET "/forums/admin/forums/new" for ::1 at 2015-01-14 01:00:17 -0500 Processing by MongoidForums::Admin::ForumsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.8110ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/admin/forums/new.haml within layouts/mongoid_forums/application (10.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5950ms Completed 200 OK in 44ms (Views: 36.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 01:00:17 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 01:00:17 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 01:00:17 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 01:00:17 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 01:00:17 -0500 Started POST "/forums/admin/forums" for ::1 at 2015-01-14 01:00:22 -0500 Processing by MongoidForums::Admin::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Vtjy9QZh2o/Oa0VY5aA5oCVN5O3sGVCEAo/Id/dKYrQhrqIQ2PDaxdB/w74Uty81bSwt+VEyesd6gmeq4qEWwA==", "forum"=>{"name"=>"B", "category"=>"54b605ac4e65697843000000"}, "commit"=>"Create Forum"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_forums documents=[{"_id"=>BSON::ObjectId('54b605f64e65697843020000'), "order"=>0, "name"=>"B", "category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4930ms Redirected to http://localhost:3000/forums/54b605f64e65697843020000 Completed 302 Found in 6ms Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-14 01:00:22 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5290ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (1.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4970ms Completed 200 OK in 23ms (Views: 18.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 01:00:22 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 01:00:22 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 01:00:22 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 01:00:22 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 01:00:22 -0500 Started POST "/forums/admin/forums" for ::1 at 2015-01-14 01:00:26 -0500 Processing by MongoidForums::Admin::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Vtjy9QZh2o/Oa0VY5aA5oCVN5O3sGVCEAo/Id/dKYrQhrqIQ2PDaxdB/w74Uty81bSwt+VEyesd6gmeq4qEWwA==", "forum"=>{"name"=>"A", "category"=>"54b605ac4e65697843000000"}, "commit"=>"Create Forum"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_forums documents=[{"_id"=>BSON::ObjectId('54b605fa4e65697843030000'), "order"=>0, "name"=>"A", "category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4370ms Redirected to http://localhost:3000/forums/54b605fa4e65697843030000 Completed 302 Found in 7ms Started GET "/forums/54b605fa4e65697843030000" for ::1 at 2015-01-14 01:00:26 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605fa4e65697843030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605fa4e65697843030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.3880ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (1.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4660ms Completed 200 OK in 43ms (Views: 37.7ms) Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 01:00:27 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 01:00:27 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 01:00:27 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 01:00:27 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 01:00:27 -0500 Started GET "/forums/" for ::1 at 2015-01-14 01:00:29 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (15.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4960ms Completed 200 OK in 41ms (Views: 38.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 01:00:30 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 01:00:30 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 01:00:30 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 01:00:30 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 01:00:30 -0500 Started GET "/forums/" for ::1 at 2015-01-14 01:01:07 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.9590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (17.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4760ms Completed 200 OK in 46ms (Views: 42.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 01:01:07 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 01:01:07 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 01:01:07 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 01:01:07 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 01:01:07 -0500 Started GET "/forums/" for ::1 at 2015-01-14 01:01:07 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.2010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (17.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6560ms Completed 200 OK in 50ms (Views: 46.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 01:01:08 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 01:01:08 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 01:01:08 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 01:01:08 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 01:01:08 -0500 Started GET "/forums/" for ::1 at 2015-01-14 01:01:57 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (17.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Completed 200 OK in 47ms (Views: 42.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 01:01:57 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 01:01:57 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 01:01:57 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 01:01:57 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 01:01:57 -0500 Started GET "/forums/" for ::1 at 2015-01-14 01:01:58 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (12.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4480ms Completed 200 OK in 34ms (Views: 30.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 01:01:58 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 01:01:58 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 01:01:58 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 01:01:58 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 01:01:58 -0500 Started GET "/forums/" for ::1 at 2015-01-14 01:02:18 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (1.2ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (Illegal nesting: nesting within plain text is illegal.): 11: %th 12: Last post 13: ss 14: - category.forums.order_by([:order, :asc]).each do |forum| 15: %tr 16: %td 17: = link_to forum.name, forum /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:14 haml (4.0.6) lib/haml/parser.rb:255:in `plain' haml (4.0.6) lib/haml/parser.rb:235:in `process_line' haml (4.0.6) lib/haml/parser.rb:121:in `parse' haml (4.0.6) lib/haml/engine.rb:66:in `initialize' haml (4.0.6) lib/haml/template/plugin.rb:25:in `new' haml (4.0.6) lib/haml/template/plugin.rb:25:in `compile' haml (4.0.6) lib/haml/template/plugin.rb:30:in `call' actionview (4.2.0) lib/action_view/template.rb:270:in `compile' actionview (4.2.0) lib/action_view/template.rb:245:in `block (2 levels) in compile!' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:244:in `block in compile!' actionview (4.2.0) lib/action_view/template.rb:232:in `synchronize' actionview (4.2.0) lib/action_view/template.rb:232:in `compile!' actionview (4.2.0) lib/action_view/template.rb:144:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (26.6ms) Started GET "/forums/" for ::1 at 2015-01-14 01:02:21 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.6950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (18.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6710ms Completed 200 OK in 41ms (Views: 38.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 01:02:21 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 01:02:21 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 01:02:21 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 01:02:21 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 01:02:21 -0500 Started GET "/forums/" for ::1 at 2015-01-14 01:03:03 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.6610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (16.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6160ms Completed 200 OK in 47ms (Views: 43.7ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 01:03:03 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 01:03:03 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 01:03:03 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 01:03:03 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 01:03:03 -0500 Started GET "/forums/" for ::1 at 2015-01-14 01:03:04 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6800ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (15.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7330ms Completed 200 OK in 42ms (Views: 37.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 01:03:05 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 01:03:05 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 01:03:05 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 01:03:05 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 01:03:05 -0500 Started GET "/forums/" for ::1 at 2015-01-14 01:03:16 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 3.2040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.8670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (21.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4700ms Completed 200 OK in 48ms (Views: 44.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 01:03:16 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 01:03:16 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 01:03:16 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 01:03:16 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 01:03:16 -0500 Started GET "/forums/topics/54b3190a4e6569581a1e0000" for ::1 at 2015-01-14 12:49:02 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b3190a4e6569581a1e0000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.6190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b3190a4e6569581a1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.7170ms Completed 404 Not Found in 175ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Topic with id(s) 54b3190a4e6569581a1e0000. Summary: When calling MongoidForums::Topic.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): 54b3190a4e6569581a1e0000 ... (1 total) and the following ids were not found: 54b3190a4e6569581a1e0000. Resolution: Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.): mongoid (4.0.0) lib/mongoid/criteria.rb:475:in `check_for_missing_documents!' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:20:in `execute_or_raise' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:40:in `find' mongoid (4.0.0) lib/mongoid/findable.rb:90:in `find' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:52:in `current_resource' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:35:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (25.7ms) Started GET "/forums/" for ::1 at 2015-01-14 12:49:06 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.8560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.2600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.0700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (47.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.1210ms Completed 200 OK in 114ms (Views: 109.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 12:49:06 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 12:49:06 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 12:49:06 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 12:49:06 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 12:49:06 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-14 12:49:10 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 38.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5810ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (145.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4590ms Completed 200 OK in 177ms (Views: 168.4ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 12:49:10 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 12:49:10 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 12:49:10 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 12:49:10 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 12:49:10 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-14 18:32:26 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 3.9510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.8690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.0190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 11.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.8780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7230ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (164.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 9.2100ms Completed 200 OK in 277ms (Views: 229.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 18:32:27 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 18:32:27 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 18:32:27 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 18:32:27 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 18:32:27 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-14 18:44:18 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1930ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.7890ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}} runtime: 1.1260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.7040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (37.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7050ms Completed 200 OK in 91ms (Views: 79.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 18:44:18 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 18:44:18 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 18:44:18 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 18:44:18 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 18:44:18 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-14 18:58:14 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 2.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5830ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (177.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5420ms Completed 200 OK in 305ms (Views: 247.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 18:58:14 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 18:58:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 18:58:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 18:58:15 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 18:58:15 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-14 18:58:16 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.2260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (118.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4340ms Completed 200 OK in 151ms (Views: 142.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 18:58:16 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 18:58:16 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 18:58:16 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 18:58:16 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 18:58:16 -0500 Started GET "/forums/topics/54b370404e65695cab030000" for ::1 at 2015-01-14 18:58:18 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b370404e65695cab030000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b370404e65695cab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.3460ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}} runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (17.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (30.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5010ms Completed 200 OK in 111ms (Views: 98.4ms) Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 18:58:18 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 18:58:18 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 18:58:18 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 18:58:18 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 18:58:18 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-14 18:58:23 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6950ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}} runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (9.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (15.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4480ms Completed 200 OK in 47ms (Views: 38.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 18:58:23 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 18:58:23 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 18:58:23 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 18:58:23 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 18:58:23 -0500 Started GET "/forums/topics/54b2a6db4e65694fb8260000/edit" for ::1 at 2015-01-14 18:58:24 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.9360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2710ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.haml within layouts/mongoid_forums/application (65.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5620ms Completed 200 OK in 100ms (Views: 92.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 18:58:25 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 18:58:25 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 18:58:25 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 18:58:25 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 18:58:25 -0500 Started PATCH "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-14 18:58:27 -0500 Processing by MongoidForums::TopicsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"lV3pb4Gt2qkRFHb5aZ6DkMHOBMwLTB684TILTjEdLJniK7mKXzza4w8A8B+YiZUFia/N2LZnNP+ZP6STJPZY7Q==", "topic"=>{"name"=>"another sticky", "posts"=>{"text"=>"dfgdfg"}}, "commit"=>"Update Topic", "id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3210ms Completed 500 Internal Server Error in 6ms NoMethodError (undefined method `with_indifferent_access' for "dfgdfg":String): mongoid (4.0.0) lib/mongoid/relations/builders/nested_attributes/many.rb:30:in `block in build' mongoid (4.0.0) lib/mongoid/relations/builders/nested_attributes/many.rb:26:in `each' mongoid (4.0.0) lib/mongoid/relations/builders/nested_attributes/many.rb:26:in `build' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:139:in `block in process_relations' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:136:in `each_pair' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:136:in `process_relations' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:122:in `process_pending' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:29:in `process_attributes' mongoid (4.0.0) lib/mongoid/attributes.rb:203:in `block in assign_attributes' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:26:in `_assigning' mongoid (4.0.0) lib/mongoid/attributes.rb:202:in `assign_attributes' mongoid (4.0.0) lib/mongoid/persistable/updatable.rb:51:in `update' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:19:in `update' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (23.7ms) Started GET "/forums/topics/54b2a6db4e65694fb8260000/edit" for ::1 at 2015-01-14 18:58:34 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.haml within layouts/mongoid_forums/application (3.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5480ms Completed 200 OK in 31ms (Views: 25.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 18:58:34 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 18:58:34 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 18:58:34 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 18:58:34 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 18:58:34 -0500 Started PATCH "/forums/topics/54b2a6db4e65694fb8260000" for ::1 at 2015-01-14 18:58:38 -0500 Processing by MongoidForums::TopicsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"jjUnifQPlZUsED7xsw2M41hytM831BHMvm9+U1nRB+v5Q3dsKp6V3zIEuBdCGpp2EBN924r/O4/GYtGOTDpznw==", "topic"=>{"name"=>"anothdder sticky", "posts"=>{"text"=>""}}, "commit"=>"Update Topic", "id"=>"54b2a6db4e65694fb8260000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4550ms Completed 500 Internal Server Error in 6ms NoMethodError (undefined method `with_indifferent_access' for "":String): mongoid (4.0.0) lib/mongoid/relations/builders/nested_attributes/many.rb:30:in `block in build' mongoid (4.0.0) lib/mongoid/relations/builders/nested_attributes/many.rb:26:in `each' mongoid (4.0.0) lib/mongoid/relations/builders/nested_attributes/many.rb:26:in `build' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:139:in `block in process_relations' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:136:in `each_pair' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:136:in `process_relations' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:122:in `process_pending' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:29:in `process_attributes' mongoid (4.0.0) lib/mongoid/attributes.rb:203:in `block in assign_attributes' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:26:in `_assigning' mongoid (4.0.0) lib/mongoid/attributes.rb:202:in `assign_attributes' mongoid (4.0.0) lib/mongoid/persistable/updatable.rb:51:in `update' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:19:in `update' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (17.0ms) Started GET "/forums/topics/54b5de2d4e65696fbe010000" for ::1 at 2015-01-14 18:58:48 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b5de2d4e65696fbe010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4080ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}} runtime: 0.6390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (6.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.2370ms Completed 200 OK in 49ms (Views: 43.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 18:58:48 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 18:58:48 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 18:58:48 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 18:58:48 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 18:58:48 -0500 Started GET "/forums/topics/54b5de2d4e65696fbe010000/edit" for ::1 at 2015-01-14 18:58:49 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b5de2d4e65696fbe010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.haml within layouts/mongoid_forums/application (4.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5840ms Completed 200 OK in 31ms (Views: 27.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 18:58:50 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 18:58:50 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 18:58:50 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 18:58:50 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 18:58:50 -0500 Started PATCH "/forums/topics/54b5de2d4e65696fbe010000" for ::1 at 2015-01-14 18:58:51 -0500 Processing by MongoidForums::TopicsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"vgxq/Lj21X9CfttSlBqeAFGPgCHc6NxFy+Zv1yqpZ5fJejoZZmfVNVxqXbRlDYiVGe5JNWHD9gaz68AKP0IT4w==", "topic"=>{"name"=>"fdg", "posts"=>{"text"=>"dff"}}, "commit"=>"Update Topic", "id"=>"54b5de2d4e65696fbe010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms Completed 500 Internal Server Error in 7ms NoMethodError (undefined method `with_indifferent_access' for "dff":String): mongoid (4.0.0) lib/mongoid/relations/builders/nested_attributes/many.rb:30:in `block in build' mongoid (4.0.0) lib/mongoid/relations/builders/nested_attributes/many.rb:26:in `each' mongoid (4.0.0) lib/mongoid/relations/builders/nested_attributes/many.rb:26:in `build' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:139:in `block in process_relations' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:136:in `each_pair' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:136:in `process_relations' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:122:in `process_pending' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:29:in `process_attributes' mongoid (4.0.0) lib/mongoid/attributes.rb:203:in `block in assign_attributes' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:26:in `_assigning' mongoid (4.0.0) lib/mongoid/attributes.rb:202:in `assign_attributes' mongoid (4.0.0) lib/mongoid/persistable/updatable.rb:51:in `update' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:19:in `update' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (19.1ms) Started GET "/forums/topics/54b5de2d4e65696fbe010000/edit" for ::1 at 2015-01-14 18:59:17 -0500 Processing by MongoidForums::TopicsController#edit as HTML Parameters: {"id"=>"54b5de2d4e65696fbe010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4270ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/edit.haml within layouts/mongoid_forums/application (3.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4930ms Completed 200 OK in 27ms (Views: 22.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 18:59:17 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 18:59:17 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 18:59:17 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 18:59:17 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 18:59:17 -0500 Started PATCH "/forums/topics/54b5de2d4e65696fbe010000" for ::1 at 2015-01-14 18:59:18 -0500 Processing by MongoidForums::TopicsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Efuf4bq4RTcIPZMb7blcSgo70k1jb2J+vSF3qeAbsINmjc8EZClFfRYpFf0crkrfQlobWd5ESD3FLNh09fDE9w==", "topic"=>{"name"=>"fdg", "posts"=>{"text"=>""}}, "commit"=>"Update Topic", "id"=>"54b5de2d4e65696fbe010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms Completed 500 Internal Server Error in 4ms NoMethodError (undefined method `with_indifferent_access' for "":String): mongoid (4.0.0) lib/mongoid/relations/builders/nested_attributes/many.rb:30:in `block in build' mongoid (4.0.0) lib/mongoid/relations/builders/nested_attributes/many.rb:26:in `each' mongoid (4.0.0) lib/mongoid/relations/builders/nested_attributes/many.rb:26:in `build' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:139:in `block in process_relations' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:136:in `each_pair' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:136:in `process_relations' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:122:in `process_pending' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:29:in `process_attributes' mongoid (4.0.0) lib/mongoid/attributes.rb:203:in `block in assign_attributes' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:26:in `_assigning' mongoid (4.0.0) lib/mongoid/attributes.rb:202:in `assign_attributes' mongoid (4.0.0) lib/mongoid/persistable/updatable.rb:51:in `update' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:19:in `update' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (19.7ms) Started PATCH "/forums/topics/54b5de2d4e65696fbe010000" for ::1 at 2015-01-14 19:00:54 -0500 Processing by MongoidForums::TopicsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Efuf4bq4RTcIPZMb7blcSgo70k1jb2J+vSF3qeAbsINmjc8EZClFfRYpFf0crkrfQlobWd5ESD3FLNh09fDE9w==", "topic"=>{"name"=>"fdgj", "posts"=>{"text"=>"g"}}, "commit"=>"Update Topic", "id"=>"54b5de2d4e65696fbe010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2990ms Completed 500 Internal Server Error in 5ms NoMethodError (undefined method `with_indifferent_access' for "g":String): mongoid (4.0.0) lib/mongoid/relations/builders/nested_attributes/many.rb:30:in `block in build' mongoid (4.0.0) lib/mongoid/relations/builders/nested_attributes/many.rb:26:in `each' mongoid (4.0.0) lib/mongoid/relations/builders/nested_attributes/many.rb:26:in `build' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:139:in `block in process_relations' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:136:in `each_pair' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:136:in `process_relations' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:122:in `process_pending' mongoid (4.0.0) lib/mongoid/attributes/processing.rb:29:in `process_attributes' mongoid (4.0.0) lib/mongoid/attributes.rb:203:in `block in assign_attributes' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:26:in `_assigning' mongoid (4.0.0) lib/mongoid/attributes.rb:202:in `assign_attributes' mongoid (4.0.0) lib/mongoid/persistable/updatable.rb:51:in `update' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:19:in `update' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (16.8ms) Started GET "/forums/topics/54b5de2d4e65696fbe010000/edit" for ::1 at 2015-01-14 19:04:36 -0500 AbstractController::ActionNotFound (The action 'edit' could not be found for MongoidForums::TopicsController): actionpack (4.2.0) lib/abstract_controller/base.rb:132:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb within rescues/layout (0.6ms) Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-14 19:04:38 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.1740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8430ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (114.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0250ms Completed 200 OK in 209ms (Views: 169.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 19:04:38 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 19:04:38 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 19:04:38 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 19:04:38 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 19:04:38 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-14 19:04:40 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6020ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (4.2ms) Completed 500 Internal Server Error in 21ms ActionView::Template::Error (No route matches {:action=>"edit", :controller=>"mongoid_forums/posts", :format=>nil, :id=>nil, :topic_id=>#} missing required keys: [:id]): 1: %h1 Viewing Topic "#{@topic.name}" 2: = link_to "Reply to topic", new_topic_post_path(@topic) 3: - if allow? "mongoid_forums/topics", :edit, @topic 4: = link_to "Edit topic", edit_topic_post_path(@topic.posts.first) 5: %br 6: = paginate @posts 7: %br actionpack (4.2.0) lib/action_dispatch/journey/formatter.rb:46:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:710:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:741:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:784:in `url_for' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:279:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:222:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:334:in `block (2 levels) in define_url_helper' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:4:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml___1746313491715536972_70107833938620' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (26.9ms) Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-14 19:04:58 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8880ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (18.3ms) Completed 500 Internal Server Error in 27ms ActionView::Template::Error (undefined method `edit_post_path' for #<#:0x007f8680206f58>): 1: %h1 Viewing Topic "#{@topic.name}" 2: = link_to "Reply to topic", new_topic_post_path(@topic) 3: - if allow? "mongoid_forums/topics", :edit, @topic 4: = link_to "Edit topic", edit_post_path(@topic.posts.first) 5: %br 6: = paginate @posts 7: %br /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:4:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml___1746313491715536972_70107825962720' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.9ms) Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-14 19:05:37 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7960ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (6.8ms) Completed 500 Internal Server Error in 71ms ActionView::Template::Error (No route matches {:action=>"edit", :controller=>"mongoid_forums/posts", :format=>nil, :id=>nil, :topic_id=>#} missing required keys: [:id]): 1: %h1 Viewing Topic "#{@topic.name}" 2: = link_to "Reply to topic", new_topic_post_path(@topic) 3: - if allow? "mongoid_forums/topics", :edit, @topic 4: = link_to "Edit topic", edit_topic_post_path(@topic.posts.first) 5: %br 6: = paginate @posts 7: %br actionpack (4.2.0) lib/action_dispatch/journey/formatter.rb:46:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:710:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:741:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:784:in `url_for' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:279:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:222:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:334:in `block (2 levels) in define_url_helper' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:4:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__1925475422575070930_70149250817960' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.8ms) Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-14 19:05:40 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7110ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (12.3ms) Completed 500 Internal Server Error in 31ms ActionView::Template::Error (No route matches {:action=>"edit", :controller=>"mongoid_forums/posts", :format=>nil, :id=>nil, :topic_id=>BSON::ObjectId('54b2a3884e65694fb8210000')} missing required keys: [:id]): 1: %h1 Viewing Topic "#{@topic.name}" 2: = link_to "Reply to topic", new_topic_post_path(@topic) 3: - if allow? "mongoid_forums/topics", :edit, @topic 4: = link_to "Edit topic", edit_topic_post_path(@topic.posts.first.id) 5: %br 6: = paginate @posts 7: %br actionpack (4.2.0) lib/action_dispatch/journey/formatter.rb:46:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:710:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:741:in `generate' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:784:in `url_for' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:279:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:222:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:334:in `block (2 levels) in define_url_helper' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:4:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__1925475422575070930_70149261692200' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.5ms) Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-14 19:06:13 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}} runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.9590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (19.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (41.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5360ms Completed 200 OK in 92ms (Views: 85.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 19:06:13 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 19:06:13 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 19:06:13 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 19:06:13 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 19:06:13 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000/posts/54b2a3884e65694fb8210000/edit" for ::1 at 2015-01-14 19:06:14 -0500 Processing by MongoidForums::PostsController#edit as HTML Parameters: {"topic_id"=>"54b2a3884e65694fb8200000", "id"=>"54b2a3884e65694fb8210000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/edit.haml within layouts/mongoid_forums/application (11.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5330ms Completed 200 OK in 48ms (Views: 41.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 19:06:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 19:06:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 19:06:14 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 19:06:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 19:06:14 -0500 Started PATCH "/forums/topics/54b2a3884e65694fb8200000/posts/54b2a3884e65694fb8210000" for ::1 at 2015-01-14 19:06:16 -0500 Processing by MongoidForums::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"gHHJHxVLNX5dTMy+Zay05c6xbwpCAhM1+n0WFeGfQyf3B5n6y9o1NENYSliUu6JwhtCmHv8pOXaCcLnI9HQ3Uw==", "post"=>{"text"=>"hello worlddfgdfg"}, "commit"=>"Update post", "topic_id"=>"54b2a3884e65694fb8200000", "id"=>"54b2a3884e65694fb8210000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} update={"$set"=>{"last_post_at"=>2015-01-11 16:23:36 UTC, "updated_at"=>2015-01-15 00:06:16 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 9.0820ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8210000')} update={"$set"=>{"text"=>"hello worlddfgdfg", "updated_at"=>2015-01-15 00:06:16 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.9510ms Redirected to http://localhost:3000/forums/topics/54b2a3884e65694fb8200000 Completed 302 Found in 20ms Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-14 19:06:16 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6540ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}} runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5440ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (11.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9350ms Completed 200 OK in 46ms (Views: 38.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 19:06:17 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 19:06:17 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 19:06:17 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 19:06:17 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 19:06:17 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-14 19:06:17 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0810ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}} runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6430ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (14.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4590ms Completed 200 OK in 51ms (Views: 42.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 19:06:17 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 19:06:17 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 19:06:17 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 19:06:17 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 19:06:17 -0500 Started GET "/" for ::1 at 2015-01-14 20:26:50 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (1.5ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.6190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8030ms Rendered partials/_nav.haml (11.0ms) Completed 200 OK in 82ms (Views: 80.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:26:50 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:26:50 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:26:50 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:26:50 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:26:50 -0500 Started GET "/forums/" for ::1 at 2015-01-14 20:26:53 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 3.2390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.1450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (37.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5920ms Completed 200 OK in 68ms (Views: 63.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:26:53 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:26:53 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:26:53 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:26:53 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:26:53 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-14 20:26:56 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5480ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4650ms Completed 200 OK in 37ms (Views: 31.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:26:56 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:26:56 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:26:56 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:26:56 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:26:57 -0500 Started GET "/forums/54b605f64e65697843020000/new" for ::1 at 2015-01-14 20:26:58 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5900ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (73.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5680ms Completed 200 OK in 110ms (Views: 103.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:26:58 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:26:58 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:26:58 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:26:58 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:26:58 -0500 Started POST "/forums/54b605f64e65697843020000/create" for ::1 at 2015-01-14 20:27:03 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"B2rURNq+UGi9V6KXJ3dXwd7FriO9k7ytf4sX66Nnw11wHIShBC9QIqNDJHHWYEFUlqRnNwC4lu4Hhrg2toy3KQ==", "topic"=>{"name"=>"NIKOLALHFHSS", "posts"=>{"text"=>"hi"}}, "commit"=>"Create Topic", "forum_id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3000ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"NIKOLALHFHSS", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "forum_id"=>BSON::ObjectId('54b605f64e65697843020000'), "updated_at"=>2015-01-15 01:27:03 UTC, "created_at"=>2015-01-15 01:27:03 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6310ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 6.0220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4990ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b717674e65697e5f030000'), "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-15 01:27:03 UTC, "created_at"=>2015-01-15 01:27:03 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b717674e65697e5f020000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "text"=>"hi", "topic_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "updated_at"=>2015-01-15 01:27:03 UTC, "created_at"=>2015-01-15 01:27:03 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5200ms Redirected to http://localhost:3000/forums/topics/54b717674e65697e5f010000 Completed 302 Found in 37ms Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-14 20:27:03 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7540ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.9110ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (13.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5090ms Completed 200 OK in 51ms (Views: 41.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:27:03 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:27:03 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:27:03 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:27:03 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:27:03 -0500 Started GET "/forums/topics/54b717674e65697e5f010000/posts/new" for ::1 at 2015-01-14 20:27:06 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (6.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6620ms Completed 200 OK in 37ms (Views: 31.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:27:06 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:27:06 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:27:06 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:27:06 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:27:06 -0500 Started POST "/forums/topics/54b717674e65697e5f010000/posts" for ::1 at 2015-01-14 20:27:08 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"agMhXHt9V6xRJUjjxQnU2woHS7oRYC53Z6yf3fIXY2UddXG5pexX5k8xzgU0HsJOQmaCrqxLBDQfoTAA5/wXEQ==", "post"=>{"text"=>"dsfs"}, "commit"=>"Create Reply", "topic_id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b7176c4e65697e5f050000'), "text"=>"dsfs", "topic_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "reply_to_id"=>nil, "updated_at"=>2015-01-15 01:27:08 UTC, "created_at"=>2015-01-15 01:27:08 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('54b717674e65697e5f030000'), "read"=>false}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 9.0510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1790ms Redirected to http://localhost:3000/forums/topics/54b717674e65697e5f010000 Completed 302 Found in 56ms Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-14 20:27:08 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7190ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5850ms Completed 200 OK in 57ms (Views: 48.5ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:27:08 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:27:08 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:27:08 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:27:08 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:27:08 -0500 Started GET "/" for ::1 at 2015-01-14 20:27:11 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms Rendered partials/_nav.haml (2.6ms) Completed 200 OK in 41ms (Views: 40.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:27:11 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:27:11 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:27:11 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:27:11 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:27:11 -0500 Started GET "/users/sign_out" for ::1 at 2015-01-14 20:27:12 -0500 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6310ms Redirected to http://localhost:3000/ Completed 302 Found in 8ms Started GET "/" for ::1 at 2015-01-14 20:27:12 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) Rendered partials/_nav.haml (3.8ms) Completed 200 OK in 32ms (Views: 32.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:27:12 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:27:12 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:27:12 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:27:12 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:27:12 -0500 Started GET "/users/sign_in" for ::1 at 2015-01-14 20:27:14 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (17.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (32.5ms) Rendered partials/_nav.haml (0.5ms) Completed 200 OK in 75ms (Views: 62.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:27:14 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:27:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:27:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:27:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:27:14 -0500 Started POST "/users/sign_in" for ::1 at 2015-01-14 20:27:17 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"X3TBqLqlkm3cujNxIrWGrMvfIpWf67sr6esVZthhk/PYFJ3gx0cQOhyz6CdwuMknGg7xj3T0/uYWetC8VmVQBw==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"neilj.ny@gmail.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7240ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"last_sign_in_at"=>2015-01-14 05:58:35 UTC, "current_sign_in_at"=>2015-01-15 01:27:17 UTC, "sign_in_count"=>15}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4990ms Redirected to http://localhost:3000/ Completed 302 Found in 92ms Started GET "/" for ::1 at 2015-01-14 20:27:17 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms Rendered partials/_nav.haml (1.5ms) Completed 200 OK in 23ms (Views: 23.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:27:17 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:27:17 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:27:17 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:27:17 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:27:18 -0500 Started GET "/forums/" for ::1 at 2015-01-14 20:27:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.9450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (22.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6030ms Completed 200 OK in 57ms (Views: 52.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:27:20 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:27:20 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:27:20 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:27:21 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:27:21 -0500 Started GET "/users/sign_in" for ::1 at 2015-01-14 20:27:23 -0500 Processing by Devise::SessionsController#new as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6550ms Redirected to http://localhost:3000/ Filter chain halted as :require_no_authentication rendered or redirected Completed 302 Found in 5ms Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:27:23 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:27:23 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:27:23 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:27:23 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:27:23 -0500 Started GET "/users/sign_out" for ::1 at 2015-01-14 20:27:25 -0500 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms Redirected to http://localhost:3000/ Completed 302 Found in 2ms Started GET "/" for ::1 at 2015-01-14 20:27:25 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) Rendered partials/_nav.haml (0.4ms) Completed 200 OK in 20ms (Views: 19.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:27:25 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:27:25 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:27:25 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:27:25 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:27:25 -0500 Started GET "/users/sign_in" for ::1 at 2015-01-14 20:27:26 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (3.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (9.7ms) Rendered partials/_nav.haml (0.4ms) Completed 200 OK in 36ms (Views: 35.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:27:26 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:27:26 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:27:26 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:27:26 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:27:26 -0500 Started POST "/users/sign_in" for ::1 at 2015-01-14 20:27:28 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"AZpowZpEuZkRDH24cB6nYokPKXjcXyE/u8+Qh9/YrDir5jsY8ejl1KMCQ6zA3u2XJdrDubp0rk/BH8GCI+Jlng==", "user"=>{"email"=>"user@njay.net", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"user@njay.net"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"last_sign_in_at"=>2015-01-14 05:36:19 UTC, "current_sign_in_at"=>2015-01-15 01:27:29 UTC, "sign_in_count"=>6}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6830ms Redirected to http://localhost:3000/ Completed 302 Found in 93ms Started GET "/" for ::1 at 2015-01-14 20:27:29 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms Rendered partials/_nav.haml (1.7ms) Completed 200 OK in 50ms (Views: 50.1ms) Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:27:29 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:27:29 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:27:29 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:27:29 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:27:29 -0500 Started GET "/forums/" for ::1 at 2015-01-14 20:27:31 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.7260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (23.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4500ms Completed 200 OK in 54ms (Views: 50.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:27:32 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:27:32 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:27:32 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:27:32 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:27:32 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-14 20:27:34 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (8.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5420ms Completed 200 OK in 47ms (Views: 34.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:27:34 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:27:34 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:27:34 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:27:34 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:27:34 -0500 Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-14 20:27:35 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6970ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 1.0700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 2.2350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.3080ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (18.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4950ms Completed 200 OK in 54ms (Views: 47.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:27:35 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:27:35 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:27:35 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:27:35 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:27:35 -0500 Started GET "/forums/topics/54b717674e65697e5f010000/posts/new" for ::1 at 2015-01-14 20:27:36 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (3.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7260ms Completed 200 OK in 39ms (Views: 33.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:27:36 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:27:36 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:27:36 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:27:36 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:27:36 -0500 Started POST "/forums/topics/54b717674e65697e5f010000/posts" for ::1 at 2015-01-14 20:27:39 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"3MSEu3xbI7gmo0tmNyXvG0ngrcIk/REMg4ghDgam3kNuV1zsZO8Z7pBhRRw1Nj1c3bGvJr9cnXd77rTpkyvS6Q==", "post"=>{"text"=>"HI."}, "commit"=>"Create Reply", "topic_id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b7178b4e65697e5f070000'), "text"=>"HI.", "topic_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-15 01:27:39 UTC, "created_at"=>2015-01-15 01:27:39 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('54b717674e65697e5f030000'), "read"=>false}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_alerts documents=[{"_id"=>BSON::ObjectId('54b7178b4e65697e5f080000'), "mongoid_forums_topic_count"=>0, "subscription_id"=>BSON::ObjectId('54b717674e65697e5f030000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "mongoid_forums_topic_replier"=>"user@njay.net", "mongoid_forums_topic_post_id"=>BSON::ObjectId('54b7178b4e65697e5f070000'), "read"=>false, "updated_at"=>2015-01-15 01:27:39 UTC, "created_at"=>2015-01-15 01:27:39 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 7.6590ms Redirected to http://localhost:3000/forums/topics/54b717674e65697e5f010000 Completed 302 Found in 26ms Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-14 20:27:39 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 3.5260ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.9570ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 1.2310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 2.0280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (26.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (39.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6860ms Completed 200 OK in 133ms (Views: 94.4ms) Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:27:40 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:27:40 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:27:40 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:27:40 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:27:40 -0500 Started GET "/" for ::1 at 2015-01-14 20:27:41 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms Rendered partials/_nav.haml (1.4ms) Completed 200 OK in 24ms (Views: 24.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:27:41 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:27:41 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:27:41 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:27:41 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:27:41 -0500 Started GET "/users/sign_out" for ::1 at 2015-01-14 20:27:43 -0500 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms Redirected to http://localhost:3000/ Completed 302 Found in 3ms Started GET "/" for ::1 at 2015-01-14 20:27:43 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) Rendered partials/_nav.haml (0.4ms) Completed 200 OK in 24ms (Views: 23.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:27:43 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:27:43 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:27:43 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:27:43 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:27:43 -0500 Started GET "/users/sign_in" for ::1 at 2015-01-14 20:27:44 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (7.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (12.9ms) Rendered partials/_nav.haml (0.7ms) Completed 200 OK in 37ms (Views: 35.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:27:44 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:27:44 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:27:44 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:27:44 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:27:44 -0500 Started POST "/users/sign_in" for ::1 at 2015-01-14 20:27:47 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ctO1Uh0pAMM2UG3yAaq1CuEvPgcatXAX9pdJeuTZzV2U/2b0/jN5+tBpcVOu+MGG8nx6WASgreXPXZVvPR9Tpw==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"neilj.ny@gmail.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8670ms Completed 401 Unauthorized in 96ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ctO1Uh0pAMM2UG3yAaq1CuEvPgcatXAX9pdJeuTZzV2U/2b0/jN5+tBpcVOu+MGG8nx6WASgreXPXZVvPR9Tpw==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (5.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (21.8ms) Rendered partials/_nav.haml (0.2ms) Completed 200 OK in 126ms (Views: 49.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:27:47 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:27:47 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:27:47 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:27:47 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:27:47 -0500 Started POST "/users/sign_in" for ::1 at 2015-01-14 20:27:49 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"vl5T2LBHkXN1IqCYcuPTYzxDp0nZOWSNx+WOqdsWgpxYcoB+U13oSpMbvDndsafvLxDjFscsuX/+L1K8AtAcZg==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"neilj.ny@gmail.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9930ms Completed 401 Unauthorized in 90ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"vl5T2LBHkXN1IqCYcuPTYzxDp0nZOWSNx+WOqdsWgpxYcoB+U13oSpMbvDndsafvLxDjFscsuX/+L1K8AtAcZg==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (3.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (8.5ms) Rendered partials/_nav.haml (0.5ms) Completed 200 OK in 114ms (Views: 34.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:27:50 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:27:50 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:27:50 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:27:50 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:27:50 -0500 Started POST "/users/sign_in" for ::1 at 2015-01-14 20:27:51 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"VolsLFiprBcgloi32UrCCMzcVj0UobqSZbDd9EleRXOwpb+Ku7PVLsavlBZ2GLaE348SYgq0Z2BcegHhkJjbiQ==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"neilj.ny@gmail.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9180ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"last_sign_in_at"=>2015-01-15 01:27:17 UTC, "current_sign_in_at"=>2015-01-15 01:27:51 UTC, "sign_in_count"=>16}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5720ms Redirected to http://localhost:3000/ Completed 302 Found in 91ms Started GET "/" for ::1 at 2015-01-14 20:27:51 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6210ms Rendered partials/_nav.haml (1.9ms) Completed 200 OK in 26ms (Views: 25.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:27:51 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:27:51 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:27:51 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:27:51 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:27:51 -0500 Started GET "/forums/" for ::1 at 2015-01-14 20:27:54 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.0600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (25.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b7178b4e65697e5f070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('54b7178b4e65697e5f070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms Completed 200 OK in 64ms (Views: 59.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:27:54 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:27:54 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:27:54 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:27:54 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:27:54 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-14 20:27:55 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.1260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (8.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b7178b4e65697e5f070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('54b7178b4e65697e5f070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8710ms Completed 200 OK in 47ms (Views: 42.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:27:55 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:27:55 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:27:55 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:27:55 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:27:55 -0500 Started GET "/forums/" for ::1 at 2015-01-14 20:28:15 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.7750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (22.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b7178b4e65697e5f070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('54b7178b4e65697e5f070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms Completed 200 OK in 47ms (Views: 44.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:28:15 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:28:15 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:28:15 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:28:15 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:28:15 -0500 Started GET "/forums/posts/54b7178b4e65697e5f070000" for ::1 at 2015-01-14 20:28:31 -0500 Processing by MongoidForums::RedirectController#posts as HTML Parameters: {"post_id"=>"54b7178b4e65697e5f070000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b7178b4e65697e5f070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.1680ms Redirected to http://localhost:3000/forums/topics/54b717674e65697e5f010000?page=1#54b7178b4e65697e5f070000 Completed 302 Found in 12ms Started GET "/forums/topics/54b717674e65697e5f010000?page=1" for ::1 at 2015-01-14 20:28:31 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"page"=>"1", "id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8920ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.9090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (12.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4790ms Completed 200 OK in 40ms (Views: 34.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:28:31 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:28:31 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:28:31 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:28:31 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:28:31 -0500 Started GET "/forums/" for ::1 at 2015-01-14 20:28:35 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (22.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5470ms Completed 200 OK in 54ms (Views: 48.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:28:35 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:28:35 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:28:35 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:28:35 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:28:35 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-14 20:28:49 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (12.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7750ms Completed 200 OK in 49ms (Views: 42.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:28:49 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:28:49 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:28:49 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:28:49 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:28:49 -0500 Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-14 20:28:56 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9930ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (12.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5630ms Completed 200 OK in 46ms (Views: 38.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:28:56 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:28:56 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:28:56 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:28:56 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:28:56 -0500 Started GET "/forums/topics/54b717674e65697e5f010000/posts/new" for ::1 at 2015-01-14 20:29:06 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (3.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5130ms Completed 200 OK in 51ms (Views: 44.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:29:07 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:29:07 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:29:07 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:29:07 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:29:07 -0500 Started POST "/forums/topics/54b717674e65697e5f010000/posts" for ::1 at 2015-01-14 20:29:09 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"590JBD/WMBQh/NUM1JfjclCTVir/f8YOOaKKX+elujlkkht91Rip8MxWROLNslcPbai9o8G1S2qqLBMi36eFsA==", "post"=>{"text"=>""}, "commit"=>"Create Reply", "topic_id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (28.6ms) Completed 500 Internal Server Error in 42ms ActionView::Template::Error (undefined method `posts_path' for #<#:0x007f99ce0d2d60>): 9: %br 10: %br 11: 12: = form_for ([@topic, @post]) do |f| 13: = f.label :text 14: %br 15: = render :partial => "form", :locals => { :f => f } actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:220:in `polymorphic_method' actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:134:in `polymorphic_path' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:466:in `apply_form_for_options!' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:434:in `form_for' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml' haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml:12:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts_new_haml__3799494631934351568_70149302424400' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/posts_controller.rb:38:in `create' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (38.1ms) Started POST "/forums/topics/54b717674e65697e5f010000/posts" for ::1 at 2015-01-14 20:29:13 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"590JBD/WMBQh/NUM1JfjclCTVir/f8YOOaKKX+elujlkkht91Rip8MxWROLNslcPbai9o8G1S2qqLBMi36eFsA==", "post"=>{"text"=>"jhh"}, "commit"=>"Create Reply", "topic_id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b717e94e65697e5f0b0000'), "text"=>"jhh", "topic_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "reply_to_id"=>nil, "updated_at"=>2015-01-15 01:29:13 UTC, "created_at"=>2015-01-15 01:29:13 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('54b717674e65697e5f030000'), "read"=>false}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms Redirected to http://localhost:3000/forums/topics/54b717674e65697e5f010000 Completed 302 Found in 15ms Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-14 20:29:13 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2240ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.1370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6210ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (17.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4750ms Completed 200 OK in 55ms (Views: 48.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:29:13 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:29:13 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:29:13 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:29:13 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:29:13 -0500 Started GET "/forums/topics/54b717674e65697e5f010000/posts/new" for ::1 at 2015-01-14 20:29:24 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (12.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5030ms Completed 200 OK in 47ms (Views: 39.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:29:25 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:29:25 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:29:25 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:29:25 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:29:25 -0500 Started GET "/" for ::1 at 2015-01-14 20:56:49 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (1.9ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 2.9870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 6.5350ms Rendered partials/_nav.haml (13.6ms) Completed 200 OK in 91ms (Views: 90.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:56:49 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:56:49 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:56:49 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:56:49 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:56:49 -0500 Started GET "/" for ::1 at 2015-01-14 20:59:36 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms Rendered partials/_nav.haml (2.3ms) Completed 200 OK in 31ms (Views: 31.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:59:37 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:59:37 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:59:37 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:59:37 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:59:37 -0500 Started GET "/forums/" for ::1 at 2015-01-14 20:59:39 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 8.8310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.8780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (68.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5240ms Completed 200 OK in 142ms (Views: 106.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:59:39 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:59:39 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:59:39 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:59:39 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:59:39 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-14 20:59:43 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (12.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4740ms Completed 200 OK in 43ms (Views: 36.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 20:59:43 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 20:59:43 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 20:59:43 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 20:59:43 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 20:59:43 -0500 Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-14 20:59:44 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 6.5230ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (2.1ms) Completed 500 Internal Server Error in 23ms SyntaxError (/Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:5: syntax error, unexpected tIDENTIFIER, expecting keyword_then or ';' or '\n' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:7: syntax error, unexpected keyword_elsif, expecting keyword_end ));}\n", 0, false);elsif current_user ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:14: syntax error, unexpected keyword_ensure, expecting end-of-input): /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:5: syntax error, unexpected tIDENTIFIER, expecting keyword_then or ';' or '\n' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:7: syntax error, unexpected keyword_elsif, expecting keyword_end ));}\n", 0, false);elsif current_user ^ /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:14: syntax error, unexpected keyword_ensure, expecting end-of-input actionview (4.2.0) lib/action_view/template.rb:296:in `module_eval' actionview (4.2.0) lib/action_view/template.rb:296:in `compile' actionview (4.2.0) lib/action_view/template.rb:245:in `block (2 levels) in compile!' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:244:in `block in compile!' actionview (4.2.0) lib/action_view/template.rb:232:in `synchronize' actionview (4.2.0) lib/action_view/template.rb:232:in `compile!' actionview (4.2.0) lib/action_view/template.rb:144:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (27.5ms) Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-14 21:00:06 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8680ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 0.9520ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (41.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4240ms Completed 200 OK in 69ms (Views: 61.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 21:00:06 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 21:00:06 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 21:00:06 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 21:00:06 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 21:00:06 -0500 Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-14 21:00:12 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3010ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8220ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 0.6400ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (16.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4500ms Completed 200 OK in 42ms (Views: 35.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 21:00:12 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 21:00:12 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 21:00:12 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 21:00:12 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 21:00:12 -0500 Started GET "/forums/topics/54b717674e65697e5f010000/unsubscribe" for ::1 at 2015-01-14 21:00:13 -0500 AbstractController::ActionNotFound (The action 'unsubscribe' could not be found for MongoidForums::TopicsController): actionpack (4.2.0) lib/abstract_controller/base.rb:132:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb within rescues/layout (0.6ms) Started GET "/forums/topics/54b717674e65697e5f010000/unsubscribe" for ::1 at 2015-01-14 21:03:03 -0500 Processing by MongoidForums::TopicsController#unsubscribe as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6960ms Completed 500 Internal Server Error in 35ms NoMethodError (undefined method `topics' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:54:in `find_topic' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:43:in `unsubscribe' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (19.6ms) Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-14 21:03:04 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7250ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 0.7570ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.6850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2500ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (15.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (32.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5210ms Completed 200 OK in 82ms (Views: 62.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 21:03:04 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 21:03:04 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 21:03:04 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 21:03:04 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 21:03:04 -0500 Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-14 21:03:04 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7680ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 1.2830ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.8210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (21.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6350ms Completed 200 OK in 59ms (Views: 50.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 21:03:05 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 21:03:05 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 21:03:05 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 21:03:05 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 21:03:05 -0500 Started GET "/forums/topics/54b717674e65697e5f010000/unsubscribe" for ::1 at 2015-01-14 21:03:05 -0500 Processing by MongoidForums::TopicsController#unsubscribe as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5960ms Completed 500 Internal Server Error in 8ms NoMethodError (undefined method `topics' for nil:NilClass): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:54:in `find_topic' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:43:in `unsubscribe' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (15.5ms) Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-14 21:04:10 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7130ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 0.5640ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (26.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4560ms Completed 200 OK in 106ms (Views: 52.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 21:04:10 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 21:04:10 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 21:04:10 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 21:04:10 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 21:04:10 -0500 Started GET "/forums/topics/54b717674e65697e5f010000/unsubscribe" for ::1 at 2015-01-14 21:04:11 -0500 Processing by MongoidForums::TopicsController#unsubscribe as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b605f64e65697843020000'), "_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5050ms Completed 500 Internal Server Error in 15ms NameError (undefined local variable or method `forem_user' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:46:in `unsubscribe' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (19.1ms) Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-14 21:04:23 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.7090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9310ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 0.8660ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5920ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (11.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (29.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4650ms Completed 200 OK in 140ms (Views: 78.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 21:04:23 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 21:04:23 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 21:04:23 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 21:04:23 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 21:04:23 -0500 Started GET "/forums/topics/54b717674e65697e5f010000/unsubscribe" for ::1 at 2015-01-14 21:04:24 -0500 Processing by MongoidForums::TopicsController#unsubscribe as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b605f64e65697843020000'), "_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6290ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_subscriptions selector={"_id"=>BSON::ObjectId('54b717674e65697e5f030000')} update={"$set"=>{"unsubscribed"=>true, "updated_at"=>2015-01-15 02:04:24 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5600ms Redirected to http://localhost:3000/forums/topics/54b717674e65697e5f010000 Completed 302 Found in 22ms Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-14 21:04:24 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6220ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 0.4840ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (13.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5250ms Completed 200 OK in 42ms (Views: 34.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 21:04:24 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 21:04:24 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 21:04:24 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 21:04:24 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 21:04:24 -0500 Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-14 21:04:25 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2540ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9810ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 0.4920ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (16.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4790ms Completed 200 OK in 56ms (Views: 47.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 21:04:25 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 21:04:25 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 21:04:25 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 21:04:25 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 21:04:25 -0500 Started GET "/forums/topics/54b717674e65697e5f010000/subscribe" for ::1 at 2015-01-14 21:04:26 -0500 Processing by MongoidForums::TopicsController#subscribe as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b605f64e65697843020000'), "_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2020ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 0.6850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8820ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_subscriptions selector={"_id"=>BSON::ObjectId('54b717674e65697e5f030000')} update={"$set"=>{"unsubscribed"=>false, "updated_at"=>2015-01-15 02:04:26 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8000ms Redirected to http://localhost:3000/forums/topics/54b717674e65697e5f010000 Completed 302 Found in 19ms Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-14 21:04:26 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7540ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 0.5000ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (14.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5600ms Completed 200 OK in 45ms (Views: 35.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 21:04:26 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 21:04:26 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 21:04:26 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 21:04:26 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 21:04:26 -0500 Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-14 21:04:27 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7520ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 0.5180ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (13.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5080ms Completed 200 OK in 51ms (Views: 41.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 21:04:27 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 21:04:27 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 21:04:27 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 21:04:27 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 21:04:27 -0500 Started GET "/forums/54b605fa4e65697843030000" for ::1 at 2015-01-14 21:04:35 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605fa4e65697843030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605fa4e65697843030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7790ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (2.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6500ms Completed 200 OK in 40ms (Views: 33.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 21:04:35 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 21:04:35 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 21:04:35 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 21:04:35 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 21:04:35 -0500 Started GET "/" for ::1 at 2015-01-14 21:04:43 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms Rendered partials/_nav.haml (1.5ms) Completed 200 OK in 25ms (Views: 25.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 21:04:43 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 21:04:43 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 21:04:43 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 21:04:43 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 21:04:43 -0500 Started GET "/users/sign_out" for ::1 at 2015-01-14 21:04:44 -0500 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms Redirected to http://localhost:3000/ Completed 302 Found in 5ms Started GET "/" for ::1 at 2015-01-14 21:04:44 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) Rendered partials/_nav.haml (4.8ms) Completed 200 OK in 42ms (Views: 41.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 21:04:44 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 21:04:45 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 21:04:45 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 21:04:45 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 21:04:45 -0500 Started GET "/users/sign_in" for ::1 at 2015-01-14 21:04:46 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (14.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (35.2ms) Rendered partials/_nav.haml (0.3ms) Completed 200 OK in 80ms (Views: 67.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 21:04:46 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 21:04:46 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 21:04:46 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 21:04:46 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 21:04:46 -0500 Started POST "/users/sign_in" for ::1 at 2015-01-14 21:04:51 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"VAQDWSoO3giWL8qgI+CZNPZp0wrknKIUhcf58z88zeS8AyHWnudyeksXuMYyjton61vXZVeAyVPHM0CRXcMGVA==", "user"=>{"email"=>"user@njay.net", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"user@njay.net"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6380ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"last_sign_in_at"=>2015-01-15 01:27:29 UTC, "current_sign_in_at"=>2015-01-15 02:04:51 UTC, "sign_in_count"=>7}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6270ms Redirected to http://localhost:3000/ Completed 302 Found in 108ms Started GET "/" for ::1 at 2015-01-14 21:04:51 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6010ms Rendered partials/_nav.haml (1.6ms) Completed 200 OK in 23ms (Views: 22.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 21:04:51 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 21:04:51 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 21:04:51 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 21:04:51 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 21:04:51 -0500 Started GET "/forums/" for ::1 at 2015-01-14 21:04:54 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.8850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (22.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4800ms Completed 200 OK in 47ms (Views: 44.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 21:04:54 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 21:04:54 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 21:04:54 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 21:04:54 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 21:04:54 -0500 Started GET "/forums/54b605fa4e65697843030000" for ::1 at 2015-01-14 21:04:56 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605fa4e65697843030000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605fa4e65697843030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6150ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (2.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4070ms Completed 200 OK in 33ms (Views: 26.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 21:04:56 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 21:04:56 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 21:04:56 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 21:04:56 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 21:04:56 -0500 Started GET "/forums/54b605fa4e65697843030000/new" for ::1 at 2015-01-14 21:04:57 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b605fa4e65697843030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605fa4e65697843030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2150ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (58.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6990ms Completed 200 OK in 99ms (Views: 92.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 21:04:57 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 21:04:57 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 21:04:57 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 21:04:57 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 21:04:57 -0500 Started POST "/forums/54b605fa4e65697843030000/create" for ::1 at 2015-01-14 21:05:01 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Qne2CQcVWCZ8d4WoK/sEwoGfLsoED6hwkxZrUyth95K3Y/3qB6G1tRSxZZRXwP3PZvDCJdD8abxyeB19+mrUzw==", "topic"=>{"name"=>"hi", "posts"=>{"text"=>"hello"}}, "commit"=>"Create Topic", "forum_id"=>"54b605fa4e65697843030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605fa4e65697843030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"hi", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "forum_id"=>BSON::ObjectId('54b605fa4e65697843030000'), "updated_at"=>2015-01-15 02:05:01 UTC, "created_at"=>2015-01-15 02:05:01 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.9490ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b7204d4e6569842c010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.9540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b7204d4e6569842c010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b7204d4e6569842c030000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b7204d4e6569842c010000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-15 02:05:01 UTC, "created_at"=>2015-01-15 02:05:01 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b7204d4e6569842c020000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "text"=>"hello", "topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000'), "updated_at"=>2015-01-15 02:05:01 UTC, "created_at"=>2015-01-15 02:05:01 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5910ms Redirected to http://localhost:3000/forums/topics/54b7204d4e6569842c010000 Completed 302 Found in 22ms Started GET "/forums/topics/54b7204d4e6569842c010000" for ::1 at 2015-01-14 21:05:01 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b7204d4e6569842c010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2830ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b7204d4e6569842c010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.4430ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}} runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (2.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4740ms Completed 200 OK in 36ms (Views: 29.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 21:05:01 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 21:05:01 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 21:05:01 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 21:05:01 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 21:05:01 -0500 Started GET "/forums/54b605fa4e65697843030000" for ::1 at 2015-01-14 21:05:06 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605fa4e65697843030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605fa4e65697843030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (6.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6800ms Completed 200 OK in 54ms (Views: 48.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 21:05:06 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 21:05:06 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 21:05:06 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 21:05:06 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 21:05:06 -0500 Started GET "/forums/" for ::1 at 2015-01-14 21:05:07 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.9310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.0800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (38.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6290ms Completed 200 OK in 76ms (Views: 69.2ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 21:05:07 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 21:05:07 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 21:05:07 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 21:05:07 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 21:05:07 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-14 21:05:09 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7510ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (10.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6740ms Completed 200 OK in 46ms (Views: 39.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 21:05:09 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 21:05:09 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 21:05:09 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 21:05:09 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 21:05:09 -0500 Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-14 21:05:11 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.0550ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.1410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8460ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.5720ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.6460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (16.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5450ms Completed 200 OK in 55ms (Views: 41.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 21:05:11 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 21:05:11 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 21:05:11 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 21:05:11 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 21:05:11 -0500 Started GET "/forums/topics/54b717674e65697e5f010000/subscribe" for ::1 at 2015-01-14 21:05:15 -0500 Processing by MongoidForums::TopicsController#subscribe as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b605f64e65697843020000'), "_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7240ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b7205b4e6569842c040000'), "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-15 02:05:15 UTC, "created_at"=>2015-01-15 02:05:15 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.1400ms Redirected to http://localhost:3000/forums/topics/54b717674e65697e5f010000 Completed 302 Found in 14ms Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-14 21:05:15 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.9370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7070ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.4070ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (16.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4530ms Completed 200 OK in 48ms (Views: 37.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 21:05:15 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 21:05:15 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 21:05:15 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 21:05:15 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 21:05:15 -0500 Started GET "/forums/topics/54b717674e65697e5f010000/posts/new" for ::1 at 2015-01-14 21:05:19 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (7.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5450ms Completed 200 OK in 44ms (Views: 37.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 21:05:19 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 21:05:19 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 21:05:19 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 21:05:19 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 21:05:19 -0500 Started POST "/forums/topics/54b717674e65697e5f010000/posts" for ::1 at 2015-01-14 21:05:22 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Uf1+3RvDYO9XcxnWT+3Tv0cT2pl/gBhSnd1L3/f6seSk6TU+G3eNfD+1+eoz1iqyoHw2dqtz2Z58sz3xJvGSuQ==", "post"=>{"text"=>"hello"}, "commit"=>"Create Reply", "topic_id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b720624e6569842c060000'), "text"=>"hello", "topic_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-15 02:05:22 UTC, "created_at"=>2015-01-15 02:05:22 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('54b717674e65697e5f030000'), "read"=>false}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_alerts documents=[{"_id"=>BSON::ObjectId('54b720624e6569842c070000'), "mongoid_forums_topic_count"=>0, "subscription_id"=>BSON::ObjectId('54b717674e65697e5f030000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "mongoid_forums_topic_replier"=>"user@njay.net", "mongoid_forums_topic_post_id"=>BSON::ObjectId('54b720624e6569842c060000'), "read"=>false, "updated_at"=>2015-01-15 02:05:22 UTC, "created_at"=>2015-01-15 02:05:22 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('54b7205b4e6569842c040000'), "read"=>false}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms Redirected to http://localhost:3000/forums/topics/54b717674e65697e5f010000 Completed 302 Found in 21ms Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-14 21:05:22 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8280ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.4910ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (15.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5080ms Completed 200 OK in 51ms (Views: 43.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 21:05:22 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 21:05:22 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 21:05:22 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 21:05:22 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 21:05:22 -0500 Started GET "/users/sign_out" for ::1 at 2015-01-14 21:05:27 -0500 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5320ms Redirected to http://localhost:3000/ Completed 302 Found in 5ms Started GET "/" for ::1 at 2015-01-14 21:05:27 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) Rendered partials/_nav.haml (0.5ms) Completed 200 OK in 45ms (Views: 44.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 21:05:27 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 21:05:27 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 21:05:27 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 21:05:27 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 21:05:27 -0500 Started GET "/users/sign_in" for ::1 at 2015-01-14 21:05:28 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (3.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (9.2ms) Rendered partials/_nav.haml (0.4ms) Completed 200 OK in 34ms (Views: 32.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 21:05:29 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 21:05:29 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 21:05:29 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 21:05:29 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 21:05:29 -0500 Started POST "/users/sign_in" for ::1 at 2015-01-14 21:05:31 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"SV8sUgg8CRWimbHkGuNKMwIyyqw1Ecupv/pgdT9EdgdW1cBVRo+jX9GcJWt2P8j5LxwGQmWbAf319zGOPThnng==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"neilj.ny@gmail.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6300ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"last_sign_in_at"=>2015-01-15 01:27:51 UTC, "current_sign_in_at"=>2015-01-15 02:05:31 UTC, "sign_in_count"=>17}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6680ms Redirected to http://localhost:3000/ Completed 302 Found in 99ms Started GET "/" for ::1 at 2015-01-14 21:05:31 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms Rendered partials/_nav.haml (1.5ms) Completed 200 OK in 21ms (Views: 20.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 21:05:31 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 21:05:31 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 21:05:31 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 21:05:31 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 21:05:31 -0500 Started GET "/forums/" for ::1 at 2015-01-14 21:05:34 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.7960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (24.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b720624e6569842c060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('54b720624e6569842c060000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms Completed 200 OK in 56ms (Views: 51.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 21:05:34 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 21:05:34 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 21:05:34 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 21:05:34 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 21:05:34 -0500 Started GET "/forums/posts/54b720624e6569842c060000" for ::1 at 2015-01-14 21:05:38 -0500 Processing by MongoidForums::RedirectController#posts as HTML Parameters: {"post_id"=>"54b720624e6569842c060000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b720624e6569842c060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8510ms Redirected to http://localhost:3000/forums/topics/54b717674e65697e5f010000?page=1#54b720624e6569842c060000 Completed 302 Found in 8ms Started GET "/forums/topics/54b717674e65697e5f010000?page=1" for ::1 at 2015-01-14 21:05:38 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"page"=>"1", "id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 0.4300ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3070ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (15.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5680ms Completed 200 OK in 47ms (Views: 38.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-14 21:05:38 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-14 21:05:38 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-14 21:05:38 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-14 21:05:38 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-14 21:05:38 -0500 Started GET "/forums/" for ::1 at 2015-01-15 08:32:54 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.9400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 15.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 6.9820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.8840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.9790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 4.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.9240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3150ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (101.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.5010ms Completed 200 OK in 312ms (Views: 238.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 08:32:54 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 08:32:54 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 08:32:54 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 08:32:54 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 08:32:54 -0500 Started GET "/forums/" for ::1 at 2015-01-15 08:32:54 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 3.2450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 4.9220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (39.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4780ms Completed 200 OK in 70ms (Views: 66.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 08:32:55 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 08:32:55 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 08:32:55 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 08:32:55 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 08:32:55 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 08:33:05 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (12.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7260ms Completed 200 OK in 47ms (Views: 41.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 08:33:05 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 08:33:05 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 08:33:05 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 08:33:05 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 08:33:05 -0500 Started GET "/forums/54b605f64e65697843020000/new" for ::1 at 2015-01-15 08:33:07 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (68.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5170ms Completed 200 OK in 138ms (Views: 133.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 08:33:07 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 08:33:07 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 08:33:07 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 08:33:07 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 08:33:07 -0500 Started GET "/forums/" for ::1 at 2015-01-15 09:28:21 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.6240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.9660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5850ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (92.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5020ms Completed 200 OK in 224ms (Views: 185.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 09:28:21 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 09:28:21 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 09:28:21 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 09:28:21 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 09:28:21 -0500 Started GET "/forums/" for ::1 at 2015-01-15 09:28:21 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 11.2450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3180ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (43.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6730ms Completed 200 OK in 83ms (Views: 79.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 09:28:21 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 09:28:21 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 09:28:21 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 09:28:21 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 09:28:21 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 09:28:26 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (10.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4920ms Completed 200 OK in 40ms (Views: 35.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 09:28:26 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 09:28:26 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 09:28:26 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 09:28:26 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 09:28:26 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 09:34:19 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4580ms Completed 500 Internal Server Error in 32ms NoMethodError (undefined method `register_view_by' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:48:in `register_view' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:11:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (29.2ms) Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 09:34:34 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4190ms Completed 500 Internal Server Error in 36ms NoMethodError (undefined method `attr_accessible' for MongoidForums::View:Class): /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/view.rb:17:in `' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/view.rb:2:in `' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/view.rb:1:in `' activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load' activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:647:in `new_constants_in' activesupport (4.2.0) lib/active_support/dependencies.rb:456:in `load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:354:in `require_or_load' activesupport (4.2.0) lib/active_support/dependencies.rb:494:in `load_missing_constant' activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' activesupport (4.2.0) lib/active_support/core_ext/string/inflections.rb:66:in `constantize' mongoid (4.0.0) lib/mongoid/relations/metadata.rb:575:in `klass' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:563:in `criteria' mongoid (4.0.0) lib/mongoid/relations/metadata.rb:181:in `criteria' mongoid (4.0.0) lib/mongoid/relations/builders/referenced/many.rb:20:in `build' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:43:in `create_relation' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:26:in `__build__' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:104:in `block (2 levels) in get_relation' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:125:in `_loading' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:100:in `block in get_relation' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:84:in `_building' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:99:in `get_relation' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:187:in `block in getter' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/concerns/viewable.rb:21:in `register_view_by' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:48:in `register_view' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:11:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (18.9ms) Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 09:34:57 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 19.6280ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('54b7d0114e65699093000000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "updated_at"=>2015-01-15 14:34:57 UTC, "created_at"=>2015-01-15 14:34:57 UTC, "current_viewed_at"=>2015-01-15 14:34:57 UTC, "past_viewed_at"=>2015-01-15 14:34:57 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 13.2490ms Completed 500 Internal Server Error in 79ms ArgumentError (wrong number of arguments (2 for 1)): mongoid (4.0.0) lib/mongoid/persistable/incrementable.rb:23:in `inc' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/concerns/viewable.rb:23:in `register_view_by' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:48:in `register_view' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:11:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (25.7ms) Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 09:34:58 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms Completed 500 Internal Server Error in 6ms ArgumentError (wrong number of arguments (2 for 1)): mongoid (4.0.0) lib/mongoid/persistable/incrementable.rb:23:in `inc' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/concerns/viewable.rb:23:in `register_view_by' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:48:in `register_view' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:11:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (22.9ms) Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 09:35:32 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms Completed 500 Internal Server Error in 53ms ArgumentError (wrong number of arguments (2 for 1)): mongoid (4.0.0) lib/mongoid/persistable/incrementable.rb:23:in `inc' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/concerns/viewable.rb:23:in `register_view_by' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:48:in `register_view' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:11:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (21.7ms) Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 09:35:46 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6030ms Completed 500 Internal Server Error in 45ms ArgumentError (wrong number of arguments (2 for 1)): mongoid (4.0.0) lib/mongoid/persistable/incrementable.rb:23:in `inc' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/concerns/viewable.rb:23:in `register_view_by' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:48:in `register_view' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:11:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (17.3ms) Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 09:35:55 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms Completed 500 Internal Server Error in 34ms NoMethodError (undefined method `each' for :count:Symbol): mongoid (4.0.0) lib/mongoid/persistable.rb:167:in `process_atomic_operations' mongoid (4.0.0) lib/mongoid/persistable/incrementable.rb:25:in `block in inc' mongoid (4.0.0) lib/mongoid/persistable.rb:145:in `prepare_atomic_operation' mongoid (4.0.0) lib/mongoid/persistable/incrementable.rb:24:in `inc' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/concerns/viewable.rb:23:in `register_view_by' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:48:in `register_view' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:11:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (18.5ms) Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 09:36:41 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6070ms Completed 500 Internal Server Error in 49ms ArgumentError (wrong number of arguments (2 for 1)): mongoid (4.0.0) lib/mongoid/persistable/incrementable.rb:23:in `inc' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/concerns/viewable.rb:23:in `register_view_by' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:48:in `register_view' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:11:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (16.8ms) Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 09:37:30 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms Completed 500 Internal Server Error in 40ms NoMethodError (undefined method `each' for :count:Symbol): mongoid (4.0.0) lib/mongoid/persistable.rb:167:in `process_atomic_operations' mongoid (4.0.0) lib/mongoid/persistable/incrementable.rb:25:in `block in inc' mongoid (4.0.0) lib/mongoid/persistable.rb:145:in `prepare_atomic_operation' mongoid (4.0.0) lib/mongoid/persistable/incrementable.rb:24:in `inc' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/concerns/viewable.rb:23:in `register_view_by' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:48:in `register_view' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:11:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (16.7ms) Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 09:37:54 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms Completed 500 Internal Server Error in 36ms NoMethodError (undefined method `each' for :count:Symbol): mongoid (4.0.0) lib/mongoid/persistable.rb:167:in `process_atomic_operations' mongoid (4.0.0) lib/mongoid/persistable/incrementable.rb:25:in `block in inc' mongoid (4.0.0) lib/mongoid/persistable.rb:145:in `prepare_atomic_operation' mongoid (4.0.0) lib/mongoid/persistable/incrementable.rb:24:in `inc' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/concerns/viewable.rb:23:in `register_view_by' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:48:in `register_view' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:11:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (18.5ms) Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 09:37:59 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7210ms Completed 500 Internal Server Error in 40ms ArgumentError (wrong number of arguments (2 for 1)): mongoid (4.0.0) lib/mongoid/persistable/incrementable.rb:23:in `inc' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/concerns/viewable.rb:23:in `register_view_by' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:48:in `register_view' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:11:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (16.0ms) Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 09:39:29 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8540ms Completed 500 Internal Server Error in 47ms ArgumentError (wrong number of arguments (2 for 1)): mongoid (4.0.0) lib/mongoid/persistable/incrementable.rb:23:in `inc' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/concerns/viewable.rb:23:in `register_view_by' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:48:in `register_view' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:11:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (18.1ms) Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 09:39:30 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms Completed 500 Internal Server Error in 5ms ArgumentError (wrong number of arguments (2 for 1)): mongoid (4.0.0) lib/mongoid/persistable/incrementable.rb:23:in `inc' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/concerns/viewable.rb:23:in `register_view_by' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:48:in `register_view' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:11:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (15.3ms) Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 09:39:34 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5870ms Completed 500 Internal Server Error in 46ms ArgumentError (wrong number of arguments (2 for 1)): mongoid (4.0.0) lib/mongoid/persistable/incrementable.rb:23:in `inc' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/concerns/viewable.rb:23:in `register_view_by' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:48:in `register_view' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:11:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (17.8ms) Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 09:39:59 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8020ms Completed 500 Internal Server Error in 89ms ArgumentError (wrong number of arguments (2 for 1)): mongoid (4.0.0) lib/mongoid/persistable/incrementable.rb:23:in `inc' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/concerns/viewable.rb:23:in `register_view_by' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:48:in `register_view' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:11:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (28.2ms) Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 09:40:00 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5580ms Completed 500 Internal Server Error in 6ms ArgumentError (wrong number of arguments (2 for 1)): mongoid (4.0.0) lib/mongoid/persistable/incrementable.rb:23:in `inc' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/concerns/viewable.rb:23:in `register_view_by' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:48:in `register_view' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:11:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (17.1ms) Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 09:40:59 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6400ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5530ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5350ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"current_viewed_at"=>2015-01-15 14:40:59 UTC, "updated_at"=>2015-01-15 14:40:59 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (26.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6100ms Completed 200 OK in 194ms (Views: 138.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 09:40:59 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 09:40:59 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 09:40:59 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 09:40:59 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 09:40:59 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 09:41:00 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4020ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3310ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 14:40:59 UTC, "current_viewed_at"=>2015-01-15 14:41:00 UTC, "updated_at"=>2015-01-15 14:41:00 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6320ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (8.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5730ms Completed 200 OK in 44ms (Views: 32.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 09:41:01 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 09:41:01 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 09:41:01 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 09:41:01 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 09:41:01 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 09:42:15 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6150ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4300ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4600ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 14:41:00 UTC, "current_viewed_at"=>2015-01-15 14:42:15 UTC, "updated_at"=>2015-01-15 14:42:15 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (6.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4770ms Completed 200 OK in 36ms (Views: 26.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 09:42:15 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 09:42:15 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 09:42:15 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 09:42:15 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 09:42:15 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 09:42:16 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4750ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4320ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 14:42:15 UTC, "current_viewed_at"=>2015-01-15 14:42:16 UTC, "updated_at"=>2015-01-15 14:42:16 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4550ms Completed 200 OK in 38ms (Views: 26.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 09:42:16 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 09:42:16 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 09:42:16 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 09:42:16 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 09:42:16 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 09:42:21 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6520ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4300ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3650ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 14:42:16 UTC, "current_viewed_at"=>2015-01-15 14:42:21 UTC, "updated_at"=>2015-01-15 14:42:21 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (7.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7270ms Completed 200 OK in 37ms (Views: 27.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 09:42:22 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 09:42:22 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 09:42:22 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 09:42:22 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 09:42:22 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 09:42:22 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3850ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4340ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 14:42:21 UTC, "current_viewed_at"=>2015-01-15 14:42:22 UTC, "updated_at"=>2015-01-15 14:42:22 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (6.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4530ms Completed 200 OK in 39ms (Views: 28.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 09:42:22 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 09:42:22 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 09:42:22 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 09:42:22 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 09:42:22 -0500 Started GET "/forums/" for ::1 at 2015-01-15 09:42:30 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.7770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7400ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (42.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5240ms Completed 200 OK in 72ms (Views: 66.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 09:42:30 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 09:42:30 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 09:42:30 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 09:42:30 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 09:42:30 -0500 Started GET "/forums/" for ::1 at 2015-01-15 09:42:34 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (23.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4480ms Completed 200 OK in 45ms (Views: 42.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 09:42:34 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 09:42:34 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 09:42:34 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 09:42:34 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 09:42:34 -0500 Started GET "/forums/" for ::1 at 2015-01-15 09:42:49 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.8510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (46.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.2610ms Completed 200 OK in 81ms (Views: 78.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 09:42:49 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 09:42:49 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 09:42:49 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 09:42:49 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 09:42:49 -0500 Started GET "/forums/" for ::1 at 2015-01-15 09:42:58 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.8120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (27.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6940ms Completed 200 OK in 59ms (Views: 56.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 09:42:58 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 09:42:58 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 09:42:58 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 09:42:58 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 09:42:58 -0500 Started GET "/forums/54b605fa4e65697843030000" for ::1 at 2015-01-15 09:43:00 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605fa4e65697843030000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605fa4e65697843030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605fa4e65697843030000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('54b7d1f44e656990f6000000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "viewable_id"=>BSON::ObjectId('54b605fa4e65697843030000'), "viewable_type"=>"MongoidForums::Forum", "updated_at"=>2015-01-15 14:43:00 UTC, "created_at"=>2015-01-15 14:43:00 UTC, "current_viewed_at"=>2015-01-15 14:43:00 UTC, "past_viewed_at"=>2015-01-15 14:43:00 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5320ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d1f44e656990f6000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4250ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605fa4e65697843030000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4710ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d1f44e656990f6000000')} update={"$set"=>{"current_viewed_at"=>2015-01-15 14:43:00 UTC, "updated_at"=>2015-01-15 14:43:00 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (6.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4390ms Completed 200 OK in 43ms (Views: 28.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 09:43:00 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 09:43:00 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 09:43:00 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 09:43:00 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 09:43:00 -0500 Started GET "/forums/" for ::1 at 2015-01-15 09:43:01 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (24.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4590ms Completed 200 OK in 55ms (Views: 51.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 09:43:01 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 09:43:01 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 09:43:01 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 09:43:01 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 09:43:01 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 09:43:03 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7790ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4260ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 14:42:22 UTC, "current_viewed_at"=>2015-01-15 14:43:03 UTC, "updated_at"=>2015-01-15 14:43:03 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5630ms Completed 200 OK in 34ms (Views: 24.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 09:43:03 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 09:43:03 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 09:43:03 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 09:43:03 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 09:43:03 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 09:43:26 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5020ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4010ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 14:43:03 UTC, "current_viewed_at"=>2015-01-15 14:43:26 UTC, "updated_at"=>2015-01-15 14:43:26 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (9.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4490ms Completed 200 OK in 39ms (Views: 28.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 09:43:26 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 09:43:26 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 09:43:26 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 09:43:26 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 09:43:26 -0500 Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-15 09:43:28 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b605f64e65697843020000'), "_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('54b7d2104e656990f6010000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "viewable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-15 14:43:28 UTC, "created_at"=>2015-01-15 14:43:28 UTC, "current_viewed_at"=>2015-01-15 14:43:28 UTC, "past_viewed_at"=>2015-01-15 14:43:28 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4420ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4140ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4680ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$set"=>{"current_viewed_at"=>2015-01-15 14:43:28 UTC, "updated_at"=>2015-01-15 14:43:28 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4150ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6680ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 0.5650ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (9.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (28.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4370ms Completed 200 OK in 66ms (Views: 51.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 09:43:28 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 09:43:28 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 09:43:28 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 09:43:28 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 09:43:28 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 09:43:28 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3910ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3760ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 14:43:26 UTC, "current_viewed_at"=>2015-01-15 14:43:28 UTC, "updated_at"=>2015-01-15 14:43:28 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (6.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7060ms Completed 200 OK in 58ms (Views: 34.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 09:43:29 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 09:43:29 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 09:43:29 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 09:43:29 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 09:43:29 -0500 Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-15 09:43:30 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b605f64e65697843020000'), "_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4740ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7170ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 14:43:28 UTC, "current_viewed_at"=>2015-01-15 14:43:30 UTC, "updated_at"=>2015-01-15 14:43:30 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5390ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7070ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 0.4390ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3110ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.6ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (14.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4260ms Completed 200 OK in 50ms (Views: 34.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 09:43:30 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 09:43:30 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 09:43:30 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 09:43:30 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 09:43:30 -0500 Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-15 09:43:31 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b605f64e65697843020000'), "_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6240ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4430ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4040ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 14:43:30 UTC, "current_viewed_at"=>2015-01-15 14:43:31 UTC, "updated_at"=>2015-01-15 14:43:31 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4130ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8220ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 0.5290ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (16.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5100ms Completed 200 OK in 53ms (Views: 37.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 09:43:31 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 09:43:31 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 09:43:31 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 09:43:31 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 09:43:31 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 09:43:32 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5050ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4340ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 14:43:28 UTC, "current_viewed_at"=>2015-01-15 14:43:32 UTC, "updated_at"=>2015-01-15 14:43:32 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (6.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5280ms Completed 200 OK in 39ms (Views: 29.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 09:43:32 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 09:43:32 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 09:43:32 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 09:43:32 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 09:43:32 -0500 Started GET "/forums/" for ::1 at 2015-01-15 09:43:33 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (37.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.5300ms Completed 200 OK in 69ms (Views: 66.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 09:43:33 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 09:43:33 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 09:43:33 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 09:43:33 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 09:43:33 -0500 Started GET "/forums/54b605fa4e65697843030000" for ::1 at 2015-01-15 09:43:35 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605fa4e65697843030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605fa4e65697843030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605fa4e65697843030000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d1f44e656990f6000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4040ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605fa4e65697843030000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4940ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d1f44e656990f6000000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 14:43:00 UTC, "current_viewed_at"=>2015-01-15 14:43:35 UTC, "updated_at"=>2015-01-15 14:43:35 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (6.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4940ms Completed 200 OK in 37ms (Views: 27.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 09:43:35 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 09:43:35 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 09:43:35 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 09:43:35 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 09:43:35 -0500 Started GET "/forums/topics/54b7204d4e6569842c010000" for ::1 at 2015-01-15 09:43:36 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b7204d4e6569842c010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000'), "_id"=>BSON::ObjectId('54b7204d4e6569842c010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b7204d4e6569842c010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8340ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('54b7d2184e656990f6020000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "viewable_id"=>BSON::ObjectId('54b7204d4e6569842c010000'), "viewable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-15 14:43:36 UTC, "created_at"=>2015-01-15 14:43:36 UTC, "current_viewed_at"=>2015-01-15 14:43:36 UTC, "past_viewed_at"=>2015-01-15 14:43:36 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6020ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2184e656990f6020000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4050ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4820ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2184e656990f6020000')} update={"$set"=>{"current_viewed_at"=>2015-01-15 14:43:36 UTC, "updated_at"=>2015-01-15 14:43:36 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4300ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7350ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b7204d4e6569842c010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 0.4740ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}} runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (1.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (8.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4400ms Completed 200 OK in 47ms (Views: 27.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 09:43:36 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 09:43:36 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 09:43:36 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 09:43:36 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 09:43:36 -0500 Started GET "/forums/54b605fa4e65697843030000" for ::1 at 2015-01-15 09:43:37 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605fa4e65697843030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605fa4e65697843030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605fa4e65697843030000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d1f44e656990f6000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3990ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605fa4e65697843030000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3980ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d1f44e656990f6000000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 14:43:35 UTC, "current_viewed_at"=>2015-01-15 14:43:37 UTC, "updated_at"=>2015-01-15 14:43:37 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (5.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4530ms Completed 200 OK in 34ms (Views: 25.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 09:43:37 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 09:43:37 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 09:43:37 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 09:43:37 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 09:43:37 -0500 Started GET "/forums/" for ::1 at 2015-01-15 09:43:38 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 4.2930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.8300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9990ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (52.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4410ms Completed 200 OK in 86ms (Views: 78.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 09:43:38 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 09:43:38 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 09:43:38 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 09:43:38 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 09:43:38 -0500 Started GET "/forums/" for ::1 at 2015-01-15 17:38:46 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 3.8650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 12.9460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 9.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.9980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.9220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.9500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.8150ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$set"=>{"posts_count"=>5}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 9.7690ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.5210ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}} runtime: 0.4310ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605fa4e65697843030000')} update={"$set"=>{"posts_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5800ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.4850ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605e74e65697843010000')} update={"$set"=>{"posts_count"=>0}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4510ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3830ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.8530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b603094e6569764c5e0000')}} runtime: 0.5460ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b603094e6569764c5b0000')}} runtime: 0.3810ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b603084e6569764c580000')}} runtime: 0.3200ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b603074e6569764c550000')}} runtime: 0.3660ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b603064e6569764c520000')}} runtime: 0.3660ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b603064e6569764c4f0000')}} runtime: 0.3420ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b603044e6569764c4c0000')}} runtime: 0.3870ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b603034e6569764c490000')}} runtime: 0.4120ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b603024e6569764c460000')}} runtime: 0.6540ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b603024e6569764c430000')}} runtime: 2.5440ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b603014e6569764c400000')}} runtime: 0.4950ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b603004e6569764c3d0000')}} runtime: 0.4510ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ff4e6569764c3a0000')}} runtime: 0.3990ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602fe4e6569764c370000')}} runtime: 0.4230ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602fd4e6569764c340000')}} runtime: 0.3810ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602fd4e6569764c310000')}} runtime: 0.5000ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602fc4e6569764c2e0000')}} runtime: 0.4040ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602fb4e6569764c2b0000')}} runtime: 0.3800ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602fa4e6569764c280000')}} runtime: 0.3090ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f94e6569764c250000')}} runtime: 0.3090ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f84e6569764c220000')}} runtime: 0.3470ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f74e6569764c1f0000')}} runtime: 0.3060ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f64e6569764c1c0000')}} runtime: 0.3380ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f54e6569764c190000')}} runtime: 0.3190ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f44e6569764c160000')}} runtime: 0.4080ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f24e6569764c130000')}} runtime: 0.3960ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}} runtime: 0.3820ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}} runtime: 0.3430ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}} runtime: 0.3560ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}} runtime: 0.4610ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}} runtime: 0.7040ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}} runtime: 0.4420ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}} runtime: 0.3600ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}} runtime: 0.3560ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}} runtime: 0.4430ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}} runtime: 0.4030ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}} runtime: 0.3790ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}} runtime: 0.3370ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}} runtime: 0.3300ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}} runtime: 0.3820ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}} runtime: 0.3410ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}} runtime: 0.3190ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}} runtime: 0.3530ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}} runtime: 0.3880ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}} runtime: 0.3860ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}} runtime: 0.4810ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} update={"$set"=>{"posts_count"=>86}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5570ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.4340ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.3430ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (235.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.0580ms Completed 200 OK in 363ms (Views: 298.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 17:38:46 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 17:38:46 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 17:38:46 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 17:38:46 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 17:38:46 -0500 Started GET "/forums/" for ::1 at 2015-01-15 17:39:04 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.7350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 4.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.6370ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.9530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3640ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.5950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3030ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.2720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.8710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.3410ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.3210ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (47.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4530ms Completed 200 OK in 98ms (Views: 92.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 17:39:04 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 17:39:04 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 17:39:04 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 17:39:04 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 17:39:04 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 17:39:09 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.8940ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4990ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4350ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 14:43:32 UTC, "current_viewed_at"=>2015-01-15 22:39:09 UTC, "updated_at"=>2015-01-15 22:39:09 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6850ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (9.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5230ms Completed 200 OK in 43ms (Views: 29.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 17:39:09 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 17:39:09 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 17:39:09 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 17:39:09 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 17:39:09 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 17:39:13 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3900ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4370ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 22:39:09 UTC, "current_viewed_at"=>2015-01-15 22:39:13 UTC, "updated_at"=>2015-01-15 22:39:13 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.1590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (9.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5000ms Completed 200 OK in 38ms (Views: 28.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 17:39:13 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 17:39:13 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 17:39:13 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 17:39:13 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 17:39:13 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 17:39:44 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4020ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3100ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 22:39:13 UTC, "current_viewed_at"=>2015-01-15 22:39:44 UTC, "updated_at"=>2015-01-15 22:39:44 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.9360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (7.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5260ms Completed 200 OK in 45ms (Views: 33.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 17:39:44 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 17:39:44 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 17:39:44 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 17:39:44 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 17:39:44 -0500 Started GET "/forums/" for ::1 at 2015-01-15 17:39:46 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2940ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.3620ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.4230ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.7450ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.4000ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.3580ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (36.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5430ms Completed 200 OK in 64ms (Views: 59.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 17:39:46 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 17:39:46 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 17:39:46 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 17:39:46 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 17:39:46 -0500 Started GET "/forums/" for ::1 at 2015-01-15 17:39:46 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.4120ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3450ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.4190ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.4110ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.3620ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (33.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.3160ms Completed 200 OK in 72ms (Views: 68.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 17:39:46 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 17:39:47 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 17:39:47 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 17:39:47 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 17:39:47 -0500 Started GET "/forums/54b605fa4e65697843030000" for ::1 at 2015-01-15 17:39:49 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605fa4e65697843030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605fa4e65697843030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605fa4e65697843030000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d1f44e656990f6000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4460ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605fa4e65697843030000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4520ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d1f44e656990f6000000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 14:43:37 UTC, "current_viewed_at"=>2015-01-15 22:39:49 UTC, "updated_at"=>2015-01-15 22:39:49 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6890ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (13.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5610ms Completed 200 OK in 60ms (Views: 38.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 17:39:49 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 17:39:49 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 17:39:49 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 17:39:49 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 17:39:49 -0500 Started GET "/forums/54b605fa4e65697843030000/new" for ::1 at 2015-01-15 17:39:50 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b605fa4e65697843030000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605fa4e65697843030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (63.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5730ms Completed 200 OK in 94ms (Views: 87.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 17:39:50 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 17:39:50 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 17:39:50 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 17:39:50 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 17:39:50 -0500 Started POST "/forums/54b605fa4e65697843030000/create" for ::1 at 2015-01-15 17:39:52 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"7vY0urAWFb50kdblaNedrClZj3CKzc8L/MGWSb4NqbQwPlidfxDVufEDWZIR3yDeyhqNGQBLDwUPoMzDX3jFBA==", "topic"=>{"name"=>"sfdsdf", "posts"=>{"text"=>"fsdsdf"}}, "commit"=>"Create Topic", "forum_id"=>"54b605fa4e65697843030000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605fa4e65697843030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b841b84e6569943b010000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sfdsdf", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "forum_id"=>BSON::ObjectId('54b605fa4e65697843030000'), "updated_at"=>2015-01-15 22:39:52 UTC, "created_at"=>2015-01-15 22:39:52 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4910ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b841b84e6569943b010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 1.1180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b841b84e6569943b010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.9610ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b841b84e6569943b030000'), "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b841b84e6569943b010000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-15 22:39:52 UTC, "created_at"=>2015-01-15 22:39:52 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b841b84e6569943b010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b841b84e6569943b020000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "text"=>"fsdsdf", "topic_id"=>BSON::ObjectId('54b841b84e6569943b010000'), "updated_at"=>2015-01-15 22:39:52 UTC, "created_at"=>2015-01-15 22:39:52 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4120ms Redirected to http://localhost:3000/forums/topics/54b841b84e6569943b010000 Completed 302 Found in 22ms Started GET "/forums/topics/54b841b84e6569943b010000" for ::1 at 2015-01-15 17:39:52 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b841b84e6569943b010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b841b84e6569943b010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b841b84e6569943b010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000'), "_id"=>BSON::ObjectId('54b841b84e6569943b010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b841b84e6569943b010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('54b841b84e6569943b040000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "viewable_id"=>BSON::ObjectId('54b841b84e6569943b010000'), "viewable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-15 22:39:52 UTC, "created_at"=>2015-01-15 22:39:52 UTC, "current_viewed_at"=>2015-01-15 22:39:52 UTC, "past_viewed_at"=>2015-01-15 22:39:52 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4610ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b841b84e6569943b040000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4530ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b841b84e6569943b010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4440ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b841b84e6569943b040000')} update={"$set"=>{"current_viewed_at"=>2015-01-15 22:39:52 UTC, "updated_at"=>2015-01-15 22:39:52 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4170ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b841b84e6569943b010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7810ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b841b84e6569943b010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 0.4710ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b841b84e6569943b010000')}} runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b841b84e6569943b010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (15.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5140ms Completed 200 OK in 55ms (Views: 38.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 17:39:52 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 17:39:52 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 17:39:52 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 17:39:52 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 17:39:52 -0500 Started GET "/forums/54b605fa4e65697843030000" for ::1 at 2015-01-15 17:39:54 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605fa4e65697843030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605fa4e65697843030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605fa4e65697843030000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d1f44e656990f6000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3600ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605fa4e65697843030000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3300ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d1f44e656990f6000000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 22:39:49 UTC, "current_viewed_at"=>2015-01-15 22:39:54 UTC, "updated_at"=>2015-01-15 22:39:54 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b841b84e6569943b010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b841b84e6569943b010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (11.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5140ms Completed 200 OK in 40ms (Views: 32.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 17:39:54 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 17:39:54 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 17:39:54 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 17:39:54 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 17:39:54 -0500 Started GET "/forums/" for ::1 at 2015-01-15 17:39:55 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.4070ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.5660ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.4780ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.7770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.4210ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.3850ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (32.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4760ms Completed 200 OK in 58ms (Views: 55.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 17:39:55 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 17:39:55 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 17:39:55 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 17:39:55 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 17:39:55 -0500 Started GET "/forums/" for ::1 at 2015-01-15 17:39:56 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.4110ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3720ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.4710ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.3940ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.3240ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (30.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Completed 200 OK in 51ms (Views: 48.6ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 17:39:56 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 17:39:56 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 17:39:56 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 17:39:56 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 17:39:56 -0500 Started GET "/forums/" for ::1 at 2015-01-15 17:39:56 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.4600ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3670ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3660ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.0310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.3960ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 10.7140ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (46.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5590ms Completed 200 OK in 85ms (Views: 81.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 17:39:56 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 17:39:56 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 17:39:56 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 17:39:56 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 17:39:56 -0500 Started GET "/forums/" for ::1 at 2015-01-15 17:39:56 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.7930ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.6990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3830ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3370ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.0060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.3900ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.3500ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (37.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6430ms Completed 200 OK in 68ms (Views: 64.4ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 17:39:56 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 17:39:56 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 17:39:56 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 17:39:56 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 17:39:56 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 17:41:41 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 9.6700ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5130ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4790ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 22:39:44 UTC, "current_viewed_at"=>2015-01-15 22:41:41 UTC, "updated_at"=>2015-01-15 22:41:41 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.9860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (35.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5150ms Completed 200 OK in 214ms (Views: 136.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 17:41:42 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 17:41:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 17:41:42 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 17:41:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 17:41:42 -0500 Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-15 17:41:45 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b605f64e65697843020000'), "_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4120ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3560ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 14:43:31 UTC, "current_viewed_at"=>2015-01-15 22:41:45 UTC, "updated_at"=>2015-01-15 22:41:45 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3680ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6470ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 0.6400ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3040ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (31.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7620ms Completed 200 OK in 75ms (Views: 60.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 17:41:45 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 17:41:45 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 17:41:45 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 17:41:45 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 17:41:45 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 17:42:40 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3680ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3560ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 22:41:41 UTC, "current_viewed_at"=>2015-01-15 22:42:40 UTC, "updated_at"=>2015-01-15 22:42:40 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (19.7ms) Completed 500 Internal Server Error in 32ms ActionView::Template::Error (undefined method `posts_count' for #): 34: = time_ago_in_words( topic.posts.last.created_at ) 35: ago 36: %td 37: = posts_count(topic) 38: %td 39: = topic.views_count ? topic.views_count : "None" /Users/neiljohari/Desktop/Business/mongoid_forums/app/helpers/mongoid_forums/forums_helper.rb:8:in `posts_count' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:37:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__4487416273525876935_70132392439180' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:19:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__4487416273525876935_70132392439180' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (28.2ms) Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 17:46:27 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4160ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3750ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 22:42:40 UTC, "current_viewed_at"=>2015-01-15 22:46:28 UTC, "updated_at"=>2015-01-15 22:46:28 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.3450ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (8.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5370ms Completed 200 OK in 41ms (Views: 30.9ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 17:46:28 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 17:46:28 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 17:46:28 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 17:46:28 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 17:46:28 -0500 Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-15 17:46:30 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b605f64e65697843020000'), "_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4870ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3530ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 22:41:45 UTC, "current_viewed_at"=>2015-01-15 22:46:30 UTC, "updated_at"=>2015-01-15 22:46:30 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6810ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1990ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 0.5250ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.6200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (7.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (27.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6280ms Completed 200 OK in 82ms (Views: 64.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 17:46:30 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 17:46:30 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 17:46:30 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 17:46:30 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 17:46:30 -0500 Started GET "/forums/" for ::1 at 2015-01-15 17:46:53 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.3800ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.4690ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8630ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.4180ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.7290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.6820ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.4500ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (36.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6600ms Completed 200 OK in 61ms (Views: 57.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 17:46:54 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 17:46:54 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 17:46:54 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 17:46:54 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 17:46:54 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 17:47:03 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4300ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 8.7520ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 22:46:28 UTC, "current_viewed_at"=>2015-01-15 22:47:03 UTC, "updated_at"=>2015-01-15 22:47:03 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6510ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.4420ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (8.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6010ms Completed 200 OK in 50ms (Views: 33.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 17:47:03 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 17:47:03 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 17:47:03 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 17:47:03 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 17:47:03 -0500 Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-15 17:47:04 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b605f64e65697843020000'), "_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4300ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5780ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 22:46:30 UTC, "current_viewed_at"=>2015-01-15 22:47:04 UTC, "updated_at"=>2015-01-15 22:47:04 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6060ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7900ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 0.3850ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2940ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.1ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (15.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4850ms Completed 200 OK in 52ms (Views: 37.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 17:47:04 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 17:47:04 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 17:47:04 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 17:47:04 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 17:47:04 -0500 Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-15 17:48:13 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b605f64e65697843020000'), "_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6390ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3940ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3530ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 22:47:04 UTC, "current_viewed_at"=>2015-01-15 22:48:13 UTC, "updated_at"=>2015-01-15 22:48:13 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4460ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7120ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 0.3790ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2880ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (6.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (12.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7690ms Completed 200 OK in 51ms (Views: 37.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 17:48:13 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 17:48:13 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 17:48:13 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 17:48:13 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 17:48:13 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 17:48:14 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6800ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5140ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5530ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 22:47:03 UTC, "current_viewed_at"=>2015-01-15 22:48:14 UTC, "updated_at"=>2015-01-15 22:48:14 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.3550ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (8.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5320ms Completed 200 OK in 44ms (Views: 30.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 17:48:14 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 17:48:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 17:48:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 17:48:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 17:48:14 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 18:08:05 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} Completed 500 Internal Server Error in 10ms NameError (undefined local variable or method `mongoid_forums_user' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:17:in `set_alerts' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (11.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (39.3ms) Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 18:09:49 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} Completed 500 Internal Server Error in 7ms NameError (undefined local variable or method `mongoid_forums_user' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:17:in `set_alerts' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (21.8ms) Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 18:13:02 -0500 ActionController::RoutingError (uninitialized constant MongoidForums::ApplicationController::Forem): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:3:in `' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:2:in `' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:1:in `' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:1:in `' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (10.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (3.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (89.3ms) Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 18:13:10 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 18:13:37 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} Completed 500 Internal Server Error in 11ms NameError (undefined local variable or method `mongoid_forums_user' for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:19:in `set_alerts' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (10.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (49.0ms) Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 18:20:43 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6720ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4660ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4070ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 22:48:14 UTC, "current_viewed_at"=>2015-01-15 23:20:43 UTC, "updated_at"=>2015-01-15 23:20:43 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.4910ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (29.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5370ms Completed 200 OK in 148ms (Views: 73.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 18:20:43 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 18:20:43 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 18:20:43 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 18:20:43 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 18:20:43 -0500 Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-15 18:20:46 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} Completed 500 Internal Server Error in 1ms NameError (uninitialized constant MongoidForums::ApplicationController::Category): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:24:in `set_categories' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (14.7ms) Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-15 18:21:08 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b605f64e65697843020000'), "_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8960ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5080ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3800ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 22:48:13 UTC, "current_viewed_at"=>2015-01-15 23:21:08 UTC, "updated_at"=>2015-01-15 23:21:08 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4320ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7010ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 0.6570ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (10.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (29.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4590ms Completed 200 OK in 117ms (Views: 51.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 18:21:08 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 18:21:08 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 18:21:08 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 18:21:08 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 18:21:08 -0500 Started GET "/forums/topics/54b717674e65697e5f010000/posts/new?reply_to_id=54b717674e65697e5f020000" for ::1 at 2015-01-15 18:21:11 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b717674e65697e5f020000", "topic_id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms Completed 500 Internal Server Error in 4ms NameError (uninitialized constant MongoidForums::ApplicationController::Permission): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:29:in `current_permission' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:38:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (16.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (33.9ms) Started GET "/forums/topics/54b717674e65697e5f010000/posts/new?reply_to_id=54b717674e65697e5f020000" for ::1 at 2015-01-15 18:21:19 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b717674e65697e5f020000", "topic_id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6180ms Completed 500 Internal Server Error in 13ms NoMethodError (undefined method `current_permission' for MongoidForums:Module): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:38:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (21.2ms) Started GET "/forums/topics/54b717674e65697e5f010000/posts/new?reply_to_id=54b717674e65697e5f020000" for ::1 at 2015-01-15 18:21:28 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b717674e65697e5f020000", "topic_id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms Completed 500 Internal Server Error in 20ms NoMethodError (private method `current_permission' called for #): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:38:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (20.1ms) Started GET "/forums/topics/54b717674e65697e5f010000/posts/new?reply_to_id=54b717674e65697e5f020000" for ::1 at 2015-01-15 18:21:33 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b717674e65697e5f020000", "topic_id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b717674e65697e5f020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (3.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (20.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5370ms Completed 200 OK in 84ms (Views: 46.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 18:21:34 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 18:21:34 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 18:21:34 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 18:21:34 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 18:21:34 -0500 Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-15 18:21:37 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms Completed 500 Internal Server Error in 2ms NameError (uninitialized constant MongoidForums::ApplicationController::Permission): /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:29:in `current_permission' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:38:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (25.2ms) Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-15 18:21:43 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b605f64e65697843020000'), "_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4160ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3690ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 23:21:08 UTC, "current_viewed_at"=>2015-01-15 23:21:43 UTC, "updated_at"=>2015-01-15 23:21:43 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4380ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8620ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 0.6580ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (28.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (43.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5290ms Completed 200 OK in 126ms (Views: 69.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 18:21:43 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 18:21:43 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 18:21:43 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 18:21:43 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 18:21:43 -0500 Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-15 18:21:52 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b605f64e65697843020000'), "_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5460ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4180ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 23:21:43 UTC, "current_viewed_at"=>2015-01-15 23:21:52 UTC, "updated_at"=>2015-01-15 23:21:52 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4700ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7600ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 0.4890ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3100ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (8.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (16.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4400ms Completed 200 OK in 55ms (Views: 39.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 18:21:52 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 18:21:52 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 18:21:52 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 18:21:52 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 18:21:52 -0500 Started GET "/forums/topics/54b717674e65697e5f010000/posts/new?reply_to_id=54b717674e65697e5f020000" for ::1 at 2015-01-15 18:21:53 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b717674e65697e5f020000", "topic_id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b717674e65697e5f020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (6.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4870ms Completed 200 OK in 46ms (Views: 37.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 18:21:53 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 18:21:53 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 18:21:53 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 18:21:53 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 18:21:53 -0500 Started POST "/forums/topics/54b717674e65697e5f010000/posts" for ::1 at 2015-01-15 18:21:54 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"S4xrzKP6u1XPIvlBzT4OBA4yJ0j93UaFPwH0WR+Swh6VRAfrbPx7Ukqwdja0NrN27XElIXdbhovMYK7T/ueurg==", "post"=>{"text"=>"sfsdf", "reply_to_id"=>"54b717674e65697e5f020000"}, "commit"=>"Create Reply", "topic_id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6940ms Redirected to http://localhost:3000/forums/topics/54b717674e65697e5f010000 Completed 302 Found in 9ms Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-15 18:21:54 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b605f64e65697843020000'), "_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4400ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4670ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 23:21:52 UTC, "current_viewed_at"=>2015-01-15 23:21:54 UTC, "updated_at"=>2015-01-15 23:21:54 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5690ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7880ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 0.6790ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.6340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.1930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (12.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (24.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4690ms Completed 200 OK in 62ms (Views: 47.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 18:21:54 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 18:21:54 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 18:21:54 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 18:21:54 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 18:21:54 -0500 Started GET "/forums/topics/54b717674e65697e5f010000/posts/new?reply_to_id=54b7176c4e65697e5f050000" for ::1 at 2015-01-15 18:21:56 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"reply_to_id"=>"54b7176c4e65697e5f050000", "topic_id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b7176c4e65697e5f050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (0.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (5.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6410ms Completed 200 OK in 35ms (Views: 30.2ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 18:21:56 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 18:21:56 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 18:21:57 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 18:21:57 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 18:21:57 -0500 Started POST "/forums/topics/54b717674e65697e5f010000/posts" for ::1 at 2015-01-15 18:21:58 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"QUsK2LuBmMntbmv2drrlQASF98F4Gm7o11silcS/y5afg2b/dIdYzmj85IEPslgy58b1qPKcruYkOngfJcqnJg==", "post"=>{"text"=>"sdfsdf", "reply_to_id"=>"54b7176c4e65697e5f050000"}, "commit"=>"Create Reply", "topic_id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b84b964e65699943040000'), "text"=>"sdfsdf", "topic_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "reply_to_id"=>BSON::ObjectId('54b7176c4e65697e5f050000'), "updated_at"=>2015-01-15 23:21:58 UTC, "created_at"=>2015-01-15 23:21:58 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('54b717674e65697e5f030000'), "read"=>false}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 9.0620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('54b7205b4e6569842c040000'), "read"=>false}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_alerts documents=[{"_id"=>BSON::ObjectId('54b84b964e65699943050000'), "mongoid_forums_topic_count"=>0, "subscription_id"=>BSON::ObjectId('54b7205b4e6569842c040000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "mongoid_forums_topic_replier"=>"neilj.ny@gmail.com", "mongoid_forums_topic_post_id"=>BSON::ObjectId('54b84b964e65699943040000'), "read"=>false, "updated_at"=>2015-01-15 23:21:58 UTC, "created_at"=>2015-01-15 23:21:58 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4560ms Redirected to http://localhost:3000/forums/topics/54b717674e65697e5f010000 Completed 302 Found in 34ms Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-15 18:21:58 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b605f64e65697843020000'), "_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4580ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3890ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 23:21:54 UTC, "current_viewed_at"=>2015-01-15 23:21:58 UTC, "updated_at"=>2015-01-15 23:21:58 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3660ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6740ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 0.5850ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b7176c4e65697e5f050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b7176c4e65697e5f050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (3.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (15.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (23.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4580ms Completed 200 OK in 59ms (Views: 46.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 18:21:58 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 18:21:58 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 18:21:58 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 18:21:58 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 18:21:58 -0500 Started GET "/forums/" for ::1 at 2015-01-15 18:22:04 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.4510ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3470ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 17.8030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3610ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.6480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.4750ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.3420ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (57.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6950ms Completed 200 OK in 96ms (Views: 92.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 18:22:04 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 18:22:04 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 18:22:04 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 18:22:04 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 18:22:04 -0500 Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-15 18:22:07 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b605f64e65697843020000'), "_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1350ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5690ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4350ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 23:21:58 UTC, "current_viewed_at"=>2015-01-15 23:22:07 UTC, "updated_at"=>2015-01-15 23:22:07 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.0630ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 0.4840ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b7176c4e65697e5f050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b7176c4e65697e5f050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (1.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (15.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (23.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4830ms Completed 200 OK in 60ms (Views: 43.5ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 18:22:07 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 18:22:07 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 18:22:07 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 18:22:07 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 18:22:07 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-15 18:22:09 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('54b84ba14e65699943060000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "viewable_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "viewable_type"=>"MongoidForums::Forum", "updated_at"=>2015-01-15 23:22:09 UTC, "created_at"=>2015-01-15 23:22:09 UTC, "current_viewed_at"=>2015-01-15 23:22:09 UTC, "past_viewed_at"=>2015-01-15 23:22:09 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4920ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b84ba14e65699943060000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4510ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3960ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b84ba14e65699943060000')} update={"$set"=>{"current_viewed_at"=>2015-01-15 23:22:09 UTC, "updated_at"=>2015-01-15 23:22:09 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}} runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}} runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}} runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6010ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}} runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}} runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}} runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}} runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}} runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6650ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}} runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}} runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}} runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}} runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}} runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}} runtime: 0.3970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}} runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}} runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2880ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}} runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7480ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}} runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}} runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}} runtime: 0.5030ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (111.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7490ms Completed 200 OK in 151ms (Views: 137.8ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 18:22:09 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 18:22:09 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 18:22:09 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 18:22:09 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 18:22:09 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-15 18:38:31 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7390ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b84ba14e65699943060000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5670ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5240ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b84ba14e65699943060000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 23:22:09 UTC, "current_viewed_at"=>2015-01-15 23:38:31 UTC, "updated_at"=>2015-01-15 23:38:31 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 2.1040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6140ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (15.1ms) Completed 500 Internal Server Error in 98ms ActionView::Template::Error (undefined method `forum_display_name' for #): 26: ⚠ 27: = link_to topic.name, topic 28: %td 29: = topic.user.forum_display_name 30: = time_ago_in_words( topic.created_at ) 31: ago 32: %td mongoid (4.0.0) lib/mongoid/relations/proxy.rb:150:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:29:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__4548392134113535739_70236089222880' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:19:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml__4548392134113535739_70236089222880' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (25.8ms) Started GET "/forums/" for ::1 at 2015-01-15 18:45:59 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8530ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (71.7ms) Completed 500 Internal Server Error in 135ms ActionView::Template::Error (undefined method `forum_display_name' for #): 28: ago on 29: = link_to last_post.topic.name, last_post.topic 30: by 31: = last_post.user.forum_display_name 32: - else 33: No posts yet 34: %td mongoid (4.0.0) lib/mongoid/relations/proxy.rb:150:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:31:in `block (2 levels) in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__3922877983464479947_70274682583840' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:20:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__3922877983464479947_70274682583840' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__3922877983464479947_70274682583840' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.1ms) Started GET "/forums/" for ::1 at 2015-01-15 18:58:47 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (58.3ms) Completed 500 Internal Server Error in 101ms ActionView::Template::Error (undefined method `forum_display_name' for #): 28: ago on 29: = link_to last_post.topic.name, last_post.topic 30: by 31: = last_post.user.forum_display_name 32: - else 33: No posts yet 34: %td mongoid (4.0.0) lib/mongoid/relations/proxy.rb:150:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:31:in `block (2 levels) in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__3071247234141285548_70364928361600' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:20:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__3071247234141285548_70364928361600' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__3071247234141285548_70364928361600' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.3ms) Started GET "/forums/" for ::1 at 2015-01-15 19:05:28 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.6690ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3790ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3350ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.6240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 37.4940ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.7080ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.8460ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (117.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5580ms Completed 200 OK in 194ms (Views: 163.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 19:05:28 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 19:05:28 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 19:05:28 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 19:05:28 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 19:05:28 -0500 Started GET "/forums/" for ::1 at 2015-01-15 19:11:47 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5740ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (57.1ms) Completed 500 Internal Server Error in 98ms ActionView::Template::Error (undefined method `forum_display_name' for #): 28: ago on 29: = link_to last_post.topic.name, last_post.topic 30: by 31: = last_post.user.forum_display_name 32: - else 33: No posts yet 34: %td mongoid (4.0.0) lib/mongoid/relations/proxy.rb:150:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:31:in `block (2 levels) in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__4299290871308626731_70363923783180' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:20:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__4299290871308626731_70363923783180' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__4299290871308626731_70363923783180' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (27.8ms) Started GET "/forums/" for ::1 at 2015-01-15 19:12:28 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (59.7ms) Completed 500 Internal Server Error in 100ms ActionView::Template::Error (undefined method `forum_display_name' for #): 28: ago on 29: = link_to last_post.topic.name, last_post.topic 30: by 31: = last_post.user.forum_display_name 32: - else 33: No posts yet 34: %td mongoid (4.0.0) lib/mongoid/relations/proxy.rb:150:in `method_missing' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:31:in `block (2 levels) in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2653056269059220699_70349171138900' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:20:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2653056269059220699_70349171138900' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2653056269059220699_70349171138900' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.0ms) Started GET "/forums/" for ::1 at 2015-01-15 19:15:33 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 8.2330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.5410ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3000ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3140ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.2960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3190ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.8430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6970ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 1.4930ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.7370ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (153.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4520ms Completed 200 OK in 290ms (Views: 227.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 19:15:33 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 19:15:33 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 19:15:33 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 19:15:33 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 19:15:33 -0500 Started GET "/forums/" for ::1 at 2015-01-15 21:53:42 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.1700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6230ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (20.5ms) Completed 500 Internal Server Error in 75ms SyntaxError (/Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/topic.rb:30: syntax error, unexpected keyword_end /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/topic.rb:46: syntax error, unexpected end-of-input, expecting keyword_end): /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/topic.rb:30: syntax error, unexpected keyword_end /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/topic.rb:46: syntax error, unexpected end-of-input, expecting keyword_end activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load' activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:647:in `new_constants_in' activesupport (4.2.0) lib/active_support/dependencies.rb:456:in `load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:354:in `require_or_load' activesupport (4.2.0) lib/active_support/dependencies.rb:494:in `load_missing_constant' activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' activesupport (4.2.0) lib/active_support/core_ext/string/inflections.rb:66:in `constantize' mongoid (4.0.0) lib/mongoid/relations/metadata.rb:575:in `klass' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:563:in `criteria' mongoid (4.0.0) lib/mongoid/relations/metadata.rb:181:in `criteria' mongoid (4.0.0) lib/mongoid/relations/builders/referenced/many.rb:20:in `build' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:43:in `create_relation' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:26:in `__build__' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:104:in `block (2 levels) in get_relation' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:125:in `_loading' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:100:in `block in get_relation' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:84:in `_building' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:99:in `get_relation' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:187:in `block in getter' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:25:in `block (2 levels) in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___3072225753193520115_70331929255940' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:20:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___3072225753193520115_70331929255940' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___3072225753193520115_70331929255940' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (30.4ms) Started GET "/forums/" for ::1 at 2015-01-15 21:53:55 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 1.0560ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 1.2750ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3660ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.9330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.3730ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.3850ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (93.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 45.3780ms Completed 200 OK in 228ms (Views: 193.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 21:53:55 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 21:53:55 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 21:53:55 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 21:53:55 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 21:53:55 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 21:54:02 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6140ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4260ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3680ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 23:20:43 UTC, "current_viewed_at"=>2015-01-16 02:54:02 UTC, "updated_at"=>2015-01-16 02:54:02 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.4980ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (14.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5010ms Completed 200 OK in 64ms (Views: 37.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 21:54:02 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 21:54:02 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 21:54:02 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 21:54:02 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 21:54:02 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 21:55:05 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3960ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8790ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-16 02:54:02 UTC, "current_viewed_at"=>2015-01-16 02:55:05 UTC, "updated_at"=>2015-01-16 02:55:05 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5900ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (18.9ms) Completed 500 Internal Server Error in 84ms ActionView::Template::Error (undefined local variable or method `mongoid_forums_user' for #): 36: = time_ago_in_words( topic.posts.last.created_at ) 37: ago 38: %td 39: = topic.unread_post_count 40: %td 41: = topic.posts.count 42: %td /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/topic.rb:24:in `unread_post_count' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:39:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4526803940172432528_70331977672160' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:21:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4526803940172432528_70331977672160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (29.0ms) Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 21:57:23 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6680ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5320ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3900ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-16 02:55:05 UTC, "current_viewed_at"=>2015-01-16 02:57:23 UTC, "updated_at"=>2015-01-16 02:57:23 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7270ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (20.2ms) Completed 500 Internal Server Error in 90ms ActionView::Template::Error (undefined method `mongoid_forums_user' for nil:NilClass): 36: = time_ago_in_words( topic.posts.last.created_at ) 37: ago 38: %td 39: = topic.unread_post_count 40: %td 41: = topic.posts.count 42: %td actionpack (4.2.0) lib/abstract_controller/helpers.rb:67:in `mongoid_forums_user' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/topic.rb:24:in `unread_post_count' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:39:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4526803940172432528_70331977672160' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:21:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4526803940172432528_70331977672160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (31.2ms) Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 21:57:35 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6410ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6640ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3720ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-16 02:57:23 UTC, "current_viewed_at"=>2015-01-16 02:57:35 UTC, "updated_at"=>2015-01-16 02:57:35 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (16.2ms) Completed 500 Internal Server Error in 92ms ActionView::Template::Error (undefined method `mongoid_forums_user' for nil:NilClass): 36: = time_ago_in_words( topic.posts.last.created_at ) 37: ago 38: %td 39: = topic.unread_post_count 40: %td 41: = topic.posts.count 42: %td actionpack (4.2.0) lib/abstract_controller/helpers.rb:67:in `mongoid_forums_user' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/topic.rb:24:in `unread_post_count' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:39:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4526803940172432528_70331977672160' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:21:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4526803940172432528_70331977672160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.3ms) Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 21:57:42 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3920ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4360ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-16 02:57:35 UTC, "current_viewed_at"=>2015-01-16 02:57:42 UTC, "updated_at"=>2015-01-16 02:57:42 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (13.8ms) Completed 500 Internal Server Error in 66ms ActionView::Template::Error (undefined local variable or method `mongoid_forums_user' for #): 36: = time_ago_in_words( topic.posts.last.created_at ) 37: ago 38: %td 39: = topic.unread_post_count 40: %td 41: = topic.posts.count 42: %td /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/topic.rb:24:in `unread_post_count' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:39:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4526803940172432528_70331977672160' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:21:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4526803940172432528_70331977672160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (25.6ms) Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 21:59:45 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4140ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3610ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-16 02:57:42 UTC, "current_viewed_at"=>2015-01-16 02:59:45 UTC, "updated_at"=>2015-01-16 02:59:45 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (15.9ms) Completed 500 Internal Server Error in 75ms ActionView::Template::Error (wrong number of arguments (0 for 1)): 36: = time_ago_in_words( topic.posts.last.created_at ) 37: ago 38: %td 39: = topic.unread_post_count 40: %td 41: = topic.posts.count 42: %td /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/topic.rb:23:in `unread_post_count' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:39:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4526803940172432528_70331977672160' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:21:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4526803940172432528_70331977672160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (29.4ms) Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 21:59:58 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0450ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5780ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5940ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-16 02:59:45 UTC, "current_viewed_at"=>2015-01-16 02:59:58 UTC, "updated_at"=>2015-01-16 02:59:58 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8990ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.5780ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (20.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5280ms Completed 200 OK in 62ms (Views: 48.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 21:59:59 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 21:59:59 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 21:59:59 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 21:59:59 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 21:59:59 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 22:00:17 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7840ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.9860ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7110ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-16 02:59:58 UTC, "current_viewed_at"=>2015-01-16 03:00:17 UTC, "updated_at"=>2015-01-16 03:00:17 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6880ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.3450ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (10.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7050ms Completed 200 OK in 50ms (Views: 36.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:00:18 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:00:18 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:00:18 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:00:18 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:00:18 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 22:00:53 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6600ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4620ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5510ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-16 03:00:17 UTC, "current_viewed_at"=>2015-01-16 03:00:54 UTC, "updated_at"=>2015-01-16 03:00:54 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7860ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.3730ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (20.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6050ms Completed 200 OK in 117ms (Views: 49.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:00:54 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:00:54 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:00:54 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:00:54 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:00:54 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 22:01:24 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8990ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5340ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4030ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-16 03:00:54 UTC, "current_viewed_at"=>2015-01-16 03:01:24 UTC, "updated_at"=>2015-01-16 03:01:24 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6960ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.5120ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (14.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5490ms Completed 200 OK in 51ms (Views: 39.7ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:01:24 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:01:24 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:01:24 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:01:24 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:01:24 -0500 Started GET "/" for ::1 at 2015-01-15 22:01:31 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7010ms Rendered partials/_nav.haml (3.6ms) Completed 200 OK in 40ms (Views: 39.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:01:31 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:01:31 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:01:31 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:01:31 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:01:31 -0500 Started GET "/users/sign_out" for ::1 at 2015-01-15 22:01:51 -0500 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms Redirected to http://localhost:3000/ Completed 302 Found in 6ms Started GET "/" for ::1 at 2015-01-15 22:01:51 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) Rendered partials/_nav.haml (5.3ms) Completed 200 OK in 27ms (Views: 27.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:01:51 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:01:51 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:01:51 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:01:51 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:01:51 -0500 Started GET "/users/sign_in" for ::1 at 2015-01-15 22:01:52 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (6.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (23.0ms) Rendered partials/_nav.haml (0.3ms) Completed 200 OK in 50ms (Views: 47.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:01:52 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:01:52 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:01:52 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:01:52 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:01:52 -0500 Started POST "/users/sign_in" for ::1 at 2015-01-15 22:01:55 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"keoBlvISSZMwBJ/sO5gXAFHNyKCxTIAdpHhxq/reYqyNSCxob2ZwpEdLUOP35t7rovPITycYCATowJ91f0+TtA==", "user"=>{"email"=>"user@njay.net", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"user@njay.net"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6070ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"last_sign_in_at"=>2015-01-15 02:04:51 UTC, "current_sign_in_at"=>2015-01-16 03:01:56 UTC, "sign_in_count"=>8}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6040ms Redirected to http://localhost:3000/ Completed 302 Found in 93ms Started GET "/" for ::1 at 2015-01-15 22:01:56 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms Rendered partials/_nav.haml (1.6ms) Completed 200 OK in 19ms (Views: 19.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:01:56 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:01:56 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:01:56 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:01:56 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:01:56 -0500 Started GET "/forums/" for ::1 at 2015-01-15 22:02:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.3990ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.4080ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7060ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.5060ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.6580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.3980ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.4210ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (56.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b84b964e65699943040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('54b7205b4e6569842c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('54b84b964e65699943040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms Completed 200 OK in 111ms (Views: 105.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:02:20 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:02:20 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:02:20 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:02:20 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:02:20 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 22:02:23 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('54b87f3f4e6569a57b000000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "updated_at"=>2015-01-16 03:02:23 UTC, "created_at"=>2015-01-16 03:02:23 UTC, "current_viewed_at"=>2015-01-16 03:02:23 UTC, "past_viewed_at"=>2015-01-16 03:02:23 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4780ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b87f3f4e6569a57b000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 9.8000ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5880ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b87f3f4e6569a57b000000')} update={"$set"=>{"current_viewed_at"=>2015-01-16 03:02:23 UTC, "updated_at"=>2015-01-16 03:02:23 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7390ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (9.4ms) Completed 500 Internal Server Error in 33ms ActionView::Template::Error (undefined method `current_viewed_at' for nil:NilClass): 36: = time_ago_in_words( topic.posts.last.created_at ) 37: ago 38: %td 39: = topic.unread_post_count(mongoid_forums_user) 40: %td 41: = topic.posts.count 42: %td /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/topic.rb:27:in `block in unread_post_count' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:165:in `block in each' mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:184:in `block in each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:181:in `each' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:165:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/topic.rb:26:in `unread_post_count' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:39:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4526803940172432528_70331936245360' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml:21:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_show_haml___4526803940172432528_70331936245360' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (17.7ms) Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 22:02:57 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6230ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b87f3f4e6569a57b000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4740ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4400ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b87f3f4e6569a57b000000')} update={"$set"=>{"past_viewed_at"=>2015-01-16 03:02:23 UTC, "current_viewed_at"=>2015-01-16 03:02:57 UTC, "updated_at"=>2015-01-16 03:02:57 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4840ms Completed 500 Internal Server Error in 48ms SyntaxError (/Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/topic.rb:25: void value expression /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/topic.rb:45: syntax error, unexpected end-of-input, expecting keyword_end): /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/topic.rb:25: void value expression /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/topic.rb:45: syntax error, unexpected end-of-input, expecting keyword_end activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load' activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:647:in `new_constants_in' activesupport (4.2.0) lib/active_support/dependencies.rb:456:in `load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:354:in `require_or_load' activesupport (4.2.0) lib/active_support/dependencies.rb:494:in `load_missing_constant' activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' activesupport (4.2.0) lib/active_support/core_ext/string/inflections.rb:66:in `constantize' mongoid (4.0.0) lib/mongoid/relations/metadata.rb:575:in `klass' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:563:in `criteria' mongoid (4.0.0) lib/mongoid/relations/metadata.rb:181:in `criteria' mongoid (4.0.0) lib/mongoid/relations/builders/referenced/many.rb:20:in `build' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:43:in `create_relation' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:26:in `__build__' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:104:in `block (2 levels) in get_relation' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:125:in `_loading' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:100:in `block in get_relation' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:84:in `_building' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:99:in `get_relation' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:187:in `block in getter' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:13:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (25.2ms) Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 22:03:39 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7650ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b87f3f4e6569a57b000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6540ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6240ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b87f3f4e6569a57b000000')} update={"$set"=>{"past_viewed_at"=>2015-01-16 03:02:57 UTC, "current_viewed_at"=>2015-01-16 03:03:39 UTC, "updated_at"=>2015-01-16 03:03:39 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4380ms Completed 500 Internal Server Error in 78ms SyntaxError (/Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/topic.rb:25: void value expression /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/topic.rb:45: syntax error, unexpected end-of-input, expecting keyword_end): /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/topic.rb:25: void value expression /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/topic.rb:45: syntax error, unexpected end-of-input, expecting keyword_end activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load' activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:647:in `new_constants_in' activesupport (4.2.0) lib/active_support/dependencies.rb:456:in `load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:354:in `require_or_load' activesupport (4.2.0) lib/active_support/dependencies.rb:494:in `load_missing_constant' activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' activesupport (4.2.0) lib/active_support/core_ext/string/inflections.rb:66:in `constantize' mongoid (4.0.0) lib/mongoid/relations/metadata.rb:575:in `klass' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:563:in `criteria' mongoid (4.0.0) lib/mongoid/relations/metadata.rb:181:in `criteria' mongoid (4.0.0) lib/mongoid/relations/builders/referenced/many.rb:20:in `build' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:43:in `create_relation' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:26:in `__build__' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:104:in `block (2 levels) in get_relation' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:125:in `_loading' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:100:in `block in get_relation' mongoid (4.0.0) lib/mongoid/threaded/lifecycle.rb:84:in `_building' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:99:in `get_relation' mongoid (4.0.0) lib/mongoid/relations/accessors.rb:187:in `block in getter' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:13:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (18.3ms) Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 22:03:58 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b87f3f4e6569a57b000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4260ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4120ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b87f3f4e6569a57b000000')} update={"$set"=>{"past_viewed_at"=>2015-01-16 03:03:39 UTC, "current_viewed_at"=>2015-01-16 03:03:58 UTC, "updated_at"=>2015-01-16 03:03:58 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.3990ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.3920ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (20.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b84b964e65699943040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('54b7205b4e6569842c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('54b84b964e65699943040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5850ms Completed 200 OK in 149ms (Views: 90.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:03:58 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:03:58 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:03:58 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:03:58 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:03:58 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 22:04:06 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8680ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b87f3f4e6569a57b000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4380ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3570ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b87f3f4e6569a57b000000')} update={"$set"=>{"past_viewed_at"=>2015-01-16 03:03:58 UTC, "current_viewed_at"=>2015-01-16 03:04:06 UTC, "updated_at"=>2015-01-16 03:04:06 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 7.9950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.9120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.4550ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.3590ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (19.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b84b964e65699943040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('54b7205b4e6569842c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('54b84b964e65699943040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms Completed 200 OK in 127ms (Views: 57.9ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:04:07 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:04:07 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:04:07 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:04:07 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:04:07 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 22:04:10 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6450ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b87f3f4e6569a57b000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7060ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4730ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b87f3f4e6569a57b000000')} update={"$set"=>{"past_viewed_at"=>2015-01-16 03:04:06 UTC, "current_viewed_at"=>2015-01-16 03:04:10 UTC, "updated_at"=>2015-01-16 03:04:10 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.4130ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.3520ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (21.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b84b964e65699943040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('54b7205b4e6569842c040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('54b84b964e65699943040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms Completed 200 OK in 162ms (Views: 98.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:04:11 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:04:11 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:04:11 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:04:11 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:04:11 -0500 Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-15 22:04:13 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b605f64e65697843020000'), "_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('54b87fad4e6569a57b010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "viewable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-16 03:04:13 UTC, "created_at"=>2015-01-16 03:04:13 UTC, "current_viewed_at"=>2015-01-16 03:04:13 UTC, "past_viewed_at"=>2015-01-16 03:04:13 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7620ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b87fad4e6569a57b010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5220ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4080ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b87fad4e6569a57b010000')} update={"$set"=>{"current_viewed_at"=>2015-01-16 03:04:13 UTC, "updated_at"=>2015-01-16 03:04:13 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4170ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7620ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.7050ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b7176c4e65697e5f050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b7176c4e65697e5f050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (3.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (27.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (43.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5810ms Completed 200 OK in 91ms (Views: 71.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:04:14 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:04:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:04:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:04:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:04:14 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 22:04:17 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b87f3f4e6569a57b000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4140ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4280ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b87f3f4e6569a57b000000')} update={"$set"=>{"past_viewed_at"=>2015-01-16 03:04:10 UTC, "current_viewed_at"=>2015-01-16 03:04:17 UTC, "updated_at"=>2015-01-16 03:04:17 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8520ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.3900ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (10.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7980ms Completed 200 OK in 50ms (Views: 39.1ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:04:17 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:04:17 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:04:17 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:04:17 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:04:17 -0500 Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-15 22:04:18 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b605f64e65697843020000'), "_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b87fad4e6569a57b010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3970ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4930ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b87fad4e6569a57b010000')} update={"$set"=>{"past_viewed_at"=>2015-01-16 03:04:13 UTC, "current_viewed_at"=>2015-01-16 03:04:18 UTC, "updated_at"=>2015-01-16 03:04:18 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4350ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7350ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.4630ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b7176c4e65697e5f050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b7176c4e65697e5f050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.2ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (16.7ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (24.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5410ms Completed 200 OK in 66ms (Views: 50.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:04:18 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:04:18 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:04:18 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:04:18 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:04:18 -0500 Started GET "/forums/topics/54b717674e65697e5f010000/posts/new" for ::1 at 2015-01-15 22:04:19 -0500 Processing by MongoidForums::PostsController#new as HTML Parameters: {"topic_id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.8ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/new.haml within layouts/mongoid_forums/application (7.4ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5390ms Completed 200 OK in 48ms (Views: 41.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:04:20 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:04:20 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:04:20 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:04:20 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:04:20 -0500 Started POST "/forums/topics/54b717674e65697e5f010000/posts" for ::1 at 2015-01-15 22:04:21 -0500 Processing by MongoidForums::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"bDureMxo8oVkJUAOATS5R5VcQnuOqxeesTtdR5PkQCdMws+f8R/lp07pzkBdCh6cTxeS7m8cibZL56H6b/lk5g==", "post"=>{"text"=>"sdfsdf"}, "commit"=>"Create Reply", "topic_id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b87fb54e6569a57b030000'), "text"=>"sdfsdf", "topic_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "reply_to_id"=>nil, "updated_at"=>2015-01-16 03:04:21 UTC, "created_at"=>2015-01-16 03:04:21 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "unsubscribed"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('54b717674e65697e5f030000'), "read"=>false}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_alerts documents=[{"_id"=>BSON::ObjectId('54b87fb54e6569a57b040000'), "mongoid_forums_topic_count"=>0, "subscription_id"=>BSON::ObjectId('54b717674e65697e5f030000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "mongoid_forums_topic_replier"=>"user@njay.net", "mongoid_forums_topic_post_id"=>BSON::ObjectId('54b87fb54e6569a57b030000'), "read"=>false, "updated_at"=>2015-01-16 03:04:21 UTC, "created_at"=>2015-01-16 03:04:21 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"subscription_id"=>BSON::ObjectId('54b7205b4e6569842c040000'), "read"=>false}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms Redirected to http://localhost:3000/forums/topics/54b717674e65697e5f010000 Completed 302 Found in 24ms Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-15 22:04:21 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b605f64e65697843020000'), "_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b87fad4e6569a57b010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3950ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3660ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b87fad4e6569a57b010000')} update={"$set"=>{"past_viewed_at"=>2015-01-16 03:04:18 UTC, "current_viewed_at"=>2015-01-16 03:04:21 UTC, "updated_at"=>2015-01-16 03:04:21 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3650ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.4320ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b7176c4e65697e5f050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b7176c4e65697e5f050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (2.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (18.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (25.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4720ms Completed 200 OK in 63ms (Views: 49.0ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:04:21 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:04:21 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:04:21 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:04:21 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:04:21 -0500 Started GET "/" for ::1 at 2015-01-15 22:04:24 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms Rendered partials/_nav.haml (1.7ms) Completed 200 OK in 29ms (Views: 28.6ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:04:24 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:04:24 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:04:24 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:04:24 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:04:24 -0500 Started GET "/users/sign_out" for ::1 at 2015-01-15 22:04:25 -0500 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms Redirected to http://localhost:3000/ Completed 302 Found in 3ms Started GET "/" for ::1 at 2015-01-15 22:04:25 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) Rendered partials/_nav.haml (0.6ms) Completed 200 OK in 23ms (Views: 22.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:04:25 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:04:25 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:04:25 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:04:25 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:04:25 -0500 Started GET "/users/sign_in" for ::1 at 2015-01-15 22:04:26 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (5.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (11.3ms) Rendered partials/_nav.haml (0.4ms) Completed 200 OK in 39ms (Views: 38.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:04:26 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:04:26 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:04:26 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:04:26 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:04:26 -0500 Started POST "/users/sign_in" for ::1 at 2015-01-15 22:04:29 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"2ClJipXPbE8EnojubmBBW8jfcHavWJc4JMm9JtL3p4L9M9HQ3POMdHDs1CFRJdWT5cDeFvkGiMDnPVR/3RONXg==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"neilj.ny@gmail.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0340ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"last_sign_in_at"=>2015-01-15 02:05:31 UTC, "current_sign_in_at"=>2015-01-16 03:04:29 UTC, "sign_in_count"=>18}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6780ms Redirected to http://localhost:3000/ Completed 302 Found in 94ms Started GET "/" for ::1 at 2015-01-15 22:04:29 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms Rendered partials/_nav.haml (1.4ms) Completed 200 OK in 23ms (Views: 23.2ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:04:29 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:04:29 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:04:29 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:04:29 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:04:29 -0500 Started GET "/forums/" for ::1 at 2015-01-15 22:04:32 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6460ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.5530ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.4570ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.4310ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.5920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.7560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.4510ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.4540ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (35.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b87fb54e6569a57b030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('54b87fb54e6569a57b030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms Completed 200 OK in 67ms (Views: 63.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:04:32 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:04:32 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:04:32 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:04:32 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:04:32 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 22:04:35 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4080ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3770ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-16 03:01:24 UTC, "current_viewed_at"=>2015-01-16 03:04:35 UTC, "updated_at"=>2015-01-16 03:04:35 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7160ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.3530ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (11.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b87fb54e6569a57b030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('54b87fb54e6569a57b030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms Completed 200 OK in 48ms (Views: 39.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:04:35 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:04:35 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:04:35 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:04:35 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:04:35 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 22:07:58 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0090ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.2860ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6790ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-16 03:04:35 UTC, "current_viewed_at"=>2015-01-16 03:07:58 UTC, "updated_at"=>2015-01-16 03:07:58 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 4.7230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0980ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 1.0220ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (78.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b87fb54e6569a57b030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('54b87fb54e6569a57b030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms Completed 200 OK in 300ms (Views: 192.6ms) Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:07:58 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:07:58 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:07:58 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:07:58 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:07:58 -0500 Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-15 22:08:01 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7250ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5410ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4840ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-16 03:07:58 UTC, "current_viewed_at"=>2015-01-16 03:08:01 UTC, "updated_at"=>2015-01-16 03:08:01 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.3750ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (12.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b87fb54e6569a57b030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('54b87fb54e6569a57b030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms Completed 200 OK in 55ms (Views: 43.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:08:01 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:08:01 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:08:01 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:08:01 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:08:01 -0500 Started GET "/forums/" for ::1 at 2015-01-15 22:08:07 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.3950ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.3810ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (37.6ms) Completed 500 Internal Server Error in 44ms ActionView::Template::Error (undefined local variable or method `mongoid_forum_user' for #<#:0x007f80c81a7188>): 38: %td 39: = posts_count(forum) ? posts_count(forum) : "None" 40: %td 41: = forum.unread_topics_count(mongoid_forum_user) 42: %td 43: = forum.views_count ? forum.views_count : "None" /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:41:in `block (2 levels) in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___458762472302977359_70095544854900' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:22:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___458762472302977359_70095544854900' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___458762472302977359_70095544854900' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.1ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.9ms) Started GET "/forums/" for ::1 at 2015-01-15 22:08:20 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.4000ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.3490ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (17.7ms) Completed 500 Internal Server Error in 25ms ActionView::Template::Error (undefined method `unread_topics_count' for #): 38: %td 39: = posts_count(forum) ? posts_count(forum) : "None" 40: %td 41: = forum.unread_topics_count(mongoid_forums_user) 42: %td 43: = forum.views_count ? forum.views_count : "None" /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:41:in `block (2 levels) in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___458762472302977359_70095565395140' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:22:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___458762472302977359_70095565395140' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___458762472302977359_70095565395140' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.2ms) Started GET "/forums/" for ::1 at 2015-01-15 22:08:46 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.3550ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (13.4ms) Completed 500 Internal Server Error in 20ms ActionView::Template::Error (undefined method `current_viewed_at' for #): 38: %td 39: = posts_count(forum) ? posts_count(forum) : "None" 40: %td 41: = forum.unread_topic_count(mongoid_forums_user) 42: %td 43: = forum.views_count ? forum.views_count : "None" /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/forum.rb:22:in `block in unread_topic_count' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:165:in `block in each' mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:178:in `block in each' mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:177:in `each_pair' mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:177:in `each' mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:165:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/forum.rb:21:in `unread_topic_count' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:41:in `block (2 levels) in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___458762472302977359_70095545561080' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:22:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___458762472302977359_70095545561080' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___458762472302977359_70095545561080' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (25.8ms) Started GET "/forums/" for ::1 at 2015-01-15 22:09:03 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5290ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.4980ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.5110ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605fa4e65697843030000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3980ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605e74e65697843010000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.4410ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (77.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b87fb54e6569a57b030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('54b87fb54e6569a57b030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms Completed 200 OK in 140ms (Views: 119.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:09:04 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:09:04 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:09:04 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:09:04 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:09:04 -0500 Started GET "/forums/" for ::1 at 2015-01-15 22:09:24 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.4560ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2180ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.4440ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605fa4e65697843030000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3630ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605e74e65697843010000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.3970ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.5890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (46.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b87fb54e6569a57b030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('54b87fb54e6569a57b030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3080ms Completed 200 OK in 79ms (Views: 74.7ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:09:24 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:09:24 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:09:24 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:09:24 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:09:24 -0500 Started GET "/forums/54b605fa4e65697843030000" for ::1 at 2015-01-15 22:09:28 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605fa4e65697843030000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605fa4e65697843030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605fa4e65697843030000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d1f44e656990f6000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5980ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605fa4e65697843030000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4840ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d1f44e656990f6000000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 22:39:54 UTC, "current_viewed_at"=>2015-01-16 03:09:28 UTC, "updated_at"=>2015-01-16 03:09:28 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b7204d4e6569842c010000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}} runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b841b84e6569943b010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b841b84e6569943b010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b841b84e6569943b010000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b841b84e6569943b010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b841b84e6569943b010000')}} runtime: 0.3680ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (16.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b87fb54e6569a57b030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('54b87fb54e6569a57b030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2960ms Completed 200 OK in 50ms (Views: 39.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:09:28 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:09:28 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:09:28 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:09:28 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:09:28 -0500 Started GET "/forums/54b605fa4e65697843030000/new" for ::1 at 2015-01-15 22:09:29 -0500 Processing by MongoidForums::ForumsController#new as HTML Parameters: {"forum_id"=>"54b605fa4e65697843030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605fa4e65697843030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (50.7ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b87fb54e6569a57b030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"_id"=>BSON::ObjectId('54b87fb54e6569a57b030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2900ms Completed 200 OK in 104ms (Views: 96.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:09:29 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:09:29 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:09:29 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:09:29 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:09:29 -0500 Started POST "/forums/54b605fa4e65697843030000/create" for ::1 at 2015-01-15 22:09:32 -0500 Processing by MongoidForums::ForumsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"GOGukkeFu/qP97bJfWT1YgRWtka3FPEOmvzqyQexaI052/xaWlxn9VzT6+MDeTQf0JNR9WwbvE8a6fCTlkuLXw==", "topic"=>{"name"=>"sfsdf", "posts"=>{"text"=>"sdfdsf"}}, "commit"=>"Create Topic", "forum_id"=>"54b605fa4e65697843030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605fa4e65697843030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9260ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('54b880ec4e6569a7e6010000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sfsdf", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "forum_id"=>BSON::ObjectId('54b605fa4e65697843030000'), "updated_at"=>2015-01-16 03:09:32 UTC, "created_at"=>2015-01-16 03:09:32 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5080ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b880ec4e6569a7e6010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('54b880ec4e6569a7e6010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5470ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('54b880ec4e6569a7e6030000'), "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('54b880ec4e6569a7e6010000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-16 03:09:32 UTC, "created_at"=>2015-01-16 03:09:32 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b880ec4e6569a7e6010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8890ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('54b880ec4e6569a7e6020000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "text"=>"sdfdsf", "topic_id"=>BSON::ObjectId('54b880ec4e6569a7e6010000'), "updated_at"=>2015-01-16 03:09:32 UTC, "created_at"=>2015-01-16 03:09:32 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6520ms Redirected to http://localhost:3000/forums/topics/54b880ec4e6569a7e6010000 Completed 302 Found in 28ms Started GET "/forums/topics/54b880ec4e6569a7e6010000" for ::1 at 2015-01-15 22:09:32 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b880ec4e6569a7e6010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b880ec4e6569a7e6010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b880ec4e6569a7e6010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000'), "_id"=>BSON::ObjectId('54b880ec4e6569a7e6010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b880ec4e6569a7e6010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('54b880ec4e6569a7e6040000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "viewable_id"=>BSON::ObjectId('54b880ec4e6569a7e6010000'), "viewable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-16 03:09:32 UTC, "created_at"=>2015-01-16 03:09:32 UTC, "current_viewed_at"=>2015-01-16 03:09:32 UTC, "past_viewed_at"=>2015-01-16 03:09:32 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4580ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b880ec4e6569a7e6040000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4230ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b880ec4e6569a7e6010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3820ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b880ec4e6569a7e6040000')} update={"$set"=>{"current_viewed_at"=>2015-01-16 03:09:32 UTC, "updated_at"=>2015-01-16 03:09:32 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3120ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b880ec4e6569a7e6010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0600ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b880ec4e6569a7e6010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 0.6550ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b880ec4e6569a7e6010000')}} runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b880ec4e6569a7e6010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.8090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6230ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (19.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6540ms Completed 200 OK in 63ms (Views: 45.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:09:32 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:09:32 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:09:32 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:09:32 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:09:32 -0500 Started GET "/" for ::1 at 2015-01-15 22:09:35 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.4ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms Rendered partials/_nav.haml (3.8ms) Completed 200 OK in 32ms (Views: 31.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:09:35 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:09:35 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:09:35 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:09:35 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:09:35 -0500 Started GET "/users/sign_out" for ::1 at 2015-01-15 22:09:36 -0500 Processing by Devise::SessionsController#destroy as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6270ms Redirected to http://localhost:3000/ Completed 302 Found in 5ms Started GET "/" for ::1 at 2015-01-15 22:09:36 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) Rendered partials/_nav.haml (3.4ms) Completed 200 OK in 23ms (Views: 23.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:09:37 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:09:37 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:09:37 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:09:37 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:09:37 -0500 Started GET "/users/sign_in" for ::1 at 2015-01-15 22:09:38 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (7.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (17.2ms) Rendered partials/_nav.haml (0.9ms) Completed 200 OK in 54ms (Views: 52.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:09:38 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:09:38 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:09:38 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:09:38 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:09:38 -0500 Started POST "/users/sign_in" for ::1 at 2015-01-15 22:09:43 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"SU9VQbKYVmwvazZjd9RAsFw9fy0yUzn0nLykcpwSHZOnL5c54vDzblUQs0SYZhm2L8lxVQmlFX46sZTZ7tmPJA==", "user"=>{"email"=>"user@njay.net", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"user@njay.net"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6490ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"last_sign_in_at"=>2015-01-16 03:01:56 UTC, "current_sign_in_at"=>2015-01-16 03:09:43 UTC, "sign_in_count"=>9}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5840ms Redirected to http://localhost:3000/ Completed 302 Found in 90ms Started GET "/" for ::1 at 2015-01-15 22:09:43 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms Rendered partials/_nav.haml (1.3ms) Completed 200 OK in 21ms (Views: 20.8ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:09:43 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:09:43 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:09:43 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:09:43 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:09:43 -0500 Started GET "/forums/" for ::1 at 2015-01-15 22:09:46 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.5120ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3690ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605fa4e65697843030000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.4180ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605e74e65697843010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.3870ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.3330ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (37.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4450ms Completed 200 OK in 57ms (Views: 54.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:09:47 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:09:47 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:09:47 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:09:47 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:09:47 -0500 Started GET "/forums/54b605fa4e65697843030000" for ::1 at 2015-01-15 22:09:54 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605fa4e65697843030000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605fa4e65697843030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605fa4e65697843030000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9500ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('54b881024e6569a7e6050000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "viewable_id"=>BSON::ObjectId('54b605fa4e65697843030000'), "viewable_type"=>"MongoidForums::Forum", "updated_at"=>2015-01-16 03:09:54 UTC, "created_at"=>2015-01-16 03:09:54 UTC, "current_viewed_at"=>2015-01-16 03:09:54 UTC, "past_viewed_at"=>2015-01-16 03:09:54 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5070ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b881024e6569a7e6050000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4200ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605fa4e65697843030000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3690ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b881024e6569a7e6050000')} update={"$set"=>{"current_viewed_at"=>2015-01-16 03:09:54 UTC, "updated_at"=>2015-01-16 03:09:54 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.1560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b7204d4e6569842c010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}} runtime: 0.3570ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}} runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b841b84e6569943b010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b841b84e6569943b010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b841b84e6569943b010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b841b84e6569943b010000')}} runtime: 0.3920ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b841b84e6569943b010000')}} runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b880ec4e6569a7e6010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b880ec4e6569a7e6010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b880ec4e6569a7e6010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b880ec4e6569a7e6010000')}} runtime: 0.3550ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b880ec4e6569a7e6010000')}} runtime: 0.3800ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (22.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5460ms Completed 200 OK in 78ms (Views: 65.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:09:54 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:09:54 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:09:54 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:09:54 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:09:54 -0500 Started GET "/forums/topics/54b7204d4e6569842c010000" for ::1 at 2015-01-15 22:09:56 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b7204d4e6569842c010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000'), "_id"=>BSON::ObjectId('54b7204d4e6569842c010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b7204d4e6569842c010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6240ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('54b881044e6569a7e6060000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "viewable_id"=>BSON::ObjectId('54b7204d4e6569842c010000'), "viewable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-16 03:09:56 UTC, "created_at"=>2015-01-16 03:09:56 UTC, "current_viewed_at"=>2015-01-16 03:09:56 UTC, "past_viewed_at"=>2015-01-16 03:09:56 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4700ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b881044e6569a7e6060000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4470ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.9970ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b881044e6569a7e6060000')} update={"$set"=>{"current_viewed_at"=>2015-01-16 03:09:56 UTC, "updated_at"=>2015-01-16 03:09:56 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4440ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b7204d4e6569842c010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.4060ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}} runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (1.9ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (9.3ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4910ms Completed 200 OK in 50ms (Views: 33.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:09:56 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:09:56 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:09:56 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:09:56 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:09:56 -0500 Started GET "/forums/" for ::1 at 2015-01-15 22:09:59 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.4650ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.4190ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605fa4e65697843030000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.4110ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605e74e65697843010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.3410ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.3830ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (37.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6560ms Completed 200 OK in 63ms (Views: 60.2ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:10:00 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:10:00 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:10:00 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:10:00 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:10:00 -0500 Started GET "/forums/" for ::1 at 2015-01-15 22:10:01 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.8200ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.6050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.4620ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605fa4e65697843030000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3740ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605e74e65697843010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.9290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.3720ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.3010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.3140ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (38.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4970ms Completed 200 OK in 65ms (Views: 61.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:10:01 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:10:01 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:10:01 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:10:01 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:10:01 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-15 22:10:03 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('54b8810b4e6569a7e6070000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "viewable_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "viewable_type"=>"MongoidForums::Forum", "updated_at"=>2015-01-16 03:10:03 UTC, "created_at"=>2015-01-16 03:10:03 UTC, "current_viewed_at"=>2015-01-16 03:10:03 UTC, "past_viewed_at"=>2015-01-16 03:10:03 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5820ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b8810b4e6569a7e6070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4010ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3980ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b8810b4e6569a7e6070000')} update={"$set"=>{"current_viewed_at"=>2015-01-16 03:10:03 UTC, "updated_at"=>2015-01-16 03:10:03 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 2.2720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b2a3884e65694fb8200000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}} runtime: 0.3810ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}} runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}} runtime: 0.4290ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}} runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4770ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}} runtime: 0.4030ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}} runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b356ec4e65695bfc010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}} runtime: 0.3600ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}} runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b2ac374e65694fb8370000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}} runtime: 0.4850ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}} runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b370404e65695cab030000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}} runtime: 0.4830ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}} runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b5cba34e65696ac9010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}} runtime: 0.3940ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}} runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}} runtime: 0.4230ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}} runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b600674e65697404030000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}} runtime: 0.3510ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}} runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b6007c4e65697404070000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}} runtime: 0.4680ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}} runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b600814e656974040b0000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}} runtime: 0.4760ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}} runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b600834e656974040e0000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}} runtime: 0.3540ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}} runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b600844e65697404110000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}} runtime: 0.3800ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}} runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b600864e65697404140000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6460ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}} runtime: 0.4750ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}} runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b602e94e6569764c010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}} runtime: 0.3490ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}} runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b602ec4e6569764c040000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}} runtime: 0.3750ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}} runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b602ed4e6569764c070000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}} runtime: 0.3780ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}} runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}} runtime: 0.6050ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}} runtime: 0.5470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b602f04e6569764c0d0000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}} runtime: 0.3620ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}} runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b602f14e6569764c100000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}} runtime: 0.5100ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}} runtime: 0.3550ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (153.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7180ms Completed 200 OK in 186ms (Views: 175.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:10:04 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:10:04 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:10:04 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:10:04 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:10:04 -0500 Started GET "/forums/" for ::1 at 2015-01-15 22:10:06 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 1.3460ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.7210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.4090ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605fa4e65697843030000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3840ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605e74e65697843010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.6350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.5470ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.6660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5910ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (45.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5200ms Completed 200 OK in 73ms (Views: 69.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:10:06 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:10:06 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:10:06 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:10:06 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:10:06 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-15 22:10:09 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b8810b4e6569a7e6070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3830ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3610ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b8810b4e6569a7e6070000')} update={"$set"=>{"past_viewed_at"=>2015-01-16 03:10:03 UTC, "current_viewed_at"=>2015-01-16 03:10:09 UTC, "updated_at"=>2015-01-16 03:10:09 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.7350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b2a3884e65694fb8200000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}} runtime: 0.4800ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}} runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}} runtime: 0.3860ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}} runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}} runtime: 0.3470ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}} runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b356ec4e65695bfc010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}} runtime: 0.3460ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}} runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b2ac374e65694fb8370000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}} runtime: 0.3510ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}} runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b370404e65695cab030000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}} runtime: 0.3500ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}} runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b5cba34e65696ac9010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}} runtime: 0.5490ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}} runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}} runtime: 0.3460ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}} runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b600674e65697404030000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}} runtime: 0.3940ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}} runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b6007c4e65697404070000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}} runtime: 0.5330ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}} runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b600814e656974040b0000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}} runtime: 0.3440ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}} runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b600834e656974040e0000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}} runtime: 0.3680ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}} runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b600844e65697404110000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}} runtime: 0.4170ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}} runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b600864e65697404140000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}} runtime: 0.3450ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}} runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b602e94e6569764c010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}} runtime: 0.4160ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}} runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b602ec4e6569764c040000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}} runtime: 0.3910ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}} runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b602ed4e6569764c070000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}} runtime: 0.3600ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}} runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}} runtime: 0.4870ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}} runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b602f04e6569764c0d0000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}} runtime: 0.3360ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}} runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b602f14e6569764c100000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}} runtime: 0.3630ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}} runtime: 0.3350ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (150.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4880ms Completed 200 OK in 183ms (Views: 172.3ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:10:10 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:10:10 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:10:10 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:10:10 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:10:10 -0500 Started GET "/forums/topics/54b2a3dd4e65694fb8230000" for ::1 at 2015-01-15 22:10:12 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3dd4e65694fb8230000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3660ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4460ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('54b881144e6569a7e6080000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "viewable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "viewable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-16 03:10:12 UTC, "created_at"=>2015-01-16 03:10:12 UTC, "current_viewed_at"=>2015-01-16 03:10:12 UTC, "past_viewed_at"=>2015-01-16 03:10:12 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5190ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b881144e6569a7e6080000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5020ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4570ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b881144e6569a7e6080000')} update={"$set"=>{"current_viewed_at"=>2015-01-16 03:10:12 UTC, "updated_at"=>2015-01-16 03:10:12 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6950ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4810ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.4710ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}} runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.1740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7570ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (34.0ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (53.5ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6890ms Completed 200 OK in 94ms (Views: 74.3ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:10:12 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:10:12 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:10:12 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:10:12 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:10:12 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-15 22:10:14 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b8810b4e6569a7e6070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3310ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4470ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b8810b4e6569a7e6070000')} update={"$set"=>{"past_viewed_at"=>2015-01-16 03:10:09 UTC, "current_viewed_at"=>2015-01-16 03:10:14 UTC, "updated_at"=>2015-01-16 03:10:14 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.1370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b2a3884e65694fb8200000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}} runtime: 0.4110ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}} runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}} runtime: 0.3850ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}} runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b356ec4e65695bfc010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}} runtime: 0.3440ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}} runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0350ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}} runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b2ac374e65694fb8370000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}} runtime: 0.4060ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}} runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b370404e65695cab030000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}} runtime: 0.4310ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}} runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b5cba34e65696ac9010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}} runtime: 0.3450ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}} runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}} runtime: 0.4400ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}} runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b600674e65697404030000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}} runtime: 0.3710ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}} runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b6007c4e65697404070000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}} runtime: 0.4780ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}} runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b600814e656974040b0000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}} runtime: 0.3810ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}} runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b600834e656974040e0000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}} runtime: 0.3370ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}} runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b600844e65697404110000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}} runtime: 0.5720ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}} runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b600864e65697404140000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6080ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}} runtime: 0.4290ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}} runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b602e94e6569764c010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}} runtime: 0.3910ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}} runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b602ec4e6569764c040000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}} runtime: 0.4410ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}} runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b602ed4e6569764c070000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}} runtime: 0.3730ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}} runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}} runtime: 0.3630ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}} runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b602f04e6569764c0d0000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}} runtime: 0.3420ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}} runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b602f14e6569764c100000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}} runtime: 0.6280ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}} runtime: 0.4640ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (153.1ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4710ms Completed 200 OK in 185ms (Views: 177.1ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:10:14 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:10:14 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:10:14 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:10:14 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:10:14 -0500 Started GET "/forums/topics/54b2a3884e65694fb8200000" for ::1 at 2015-01-15 22:10:20 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b2a3884e65694fb8200000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b2a3884e65694fb8200000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('54b8811c4e6569a7e6090000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "viewable_id"=>BSON::ObjectId('54b2a3884e65694fb8200000'), "viewable_type"=>"MongoidForums::Topic", "updated_at"=>2015-01-16 03:10:20 UTC, "created_at"=>2015-01-16 03:10:20 UTC, "current_viewed_at"=>2015-01-16 03:10:20 UTC, "past_viewed_at"=>2015-01-16 03:10:20 UTC}] flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5550ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b8811c4e6569a7e6090000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4400ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3950ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b8811c4e6569a7e6090000')} update={"$set"=>{"current_viewed_at"=>2015-01-16 03:10:20 UTC, "updated_at"=>2015-01-16 03:10:20 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3490ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54b216624e65694a2c030000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b2a3884e65694fb8200000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "unsubscribed"=>false}} runtime: 0.4440ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}} runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (11.6ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5040ms Completed 200 OK in 44ms (Views: 28.5ms) Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:10:21 -0500 Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:10:21 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:10:21 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:10:21 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:10:21 -0500 Started GET "/forums/54b163bf4e656920a7000000" for ::1 at 2015-01-15 22:10:22 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b163bf4e656920a7000000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b8810b4e6569a7e6070000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4850ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b163bf4e656920a7000000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3520ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b8810b4e6569a7e6070000')} update={"$set"=>{"past_viewed_at"=>2015-01-16 03:10:14 UTC, "current_viewed_at"=>2015-01-16 03:10:22 UTC, "updated_at"=>2015-01-16 03:10:22 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.0280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b2a3884e65694fb8200000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3884e65694fb8200000')}} runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6030ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}} runtime: 0.4200ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a6db4e65694fb8260000')}} runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b356ec4e65695bfc010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3550ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}} runtime: 0.3470ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b356ec4e65695bfc010000')}} runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.4530ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}} runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b2ac374e65694fb8370000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}} runtime: 0.5200ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b2ac374e65694fb8370000')}} runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5500ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b370404e65695cab030000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3590ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}} runtime: 0.3720ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b370404e65695cab030000')}} runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b5cba34e65696ac9010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}} runtime: 0.5570ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b5cba34e65696ac9010000')}} runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}} runtime: 0.4670ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b5de2d4e65696fbe010000')}} runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b600674e65697404030000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3940ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}} runtime: 0.4790ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600674e65697404030000')}} runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6110ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b6007c4e65697404070000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7220ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}} runtime: 0.6030ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b6007c4e65697404070000')}} runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b600814e656974040b0000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}} runtime: 0.3930ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600814e656974040b0000')}} runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b600834e656974040e0000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}} runtime: 0.4440ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600834e656974040e0000')}} runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b600844e65697404110000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3640ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}} runtime: 0.4350ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600844e65697404110000')}} runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b600864e65697404140000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}} runtime: 0.4850ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b600864e65697404140000')}} runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b602e94e6569764c010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3340ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}} runtime: 0.3880ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602e94e6569764c010000')}} runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b602ec4e6569764c040000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}} runtime: 0.3430ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ec4e6569764c040000')}} runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b602ed4e6569764c070000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4110ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}} runtime: 0.3840ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ed4e6569764c070000')}} runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}} runtime: 0.3480ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602ef4e6569764c0a0000')}} runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b602f04e6569764c0d0000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}} runtime: 0.4000ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f04e6569764c0d0000')}} runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b602f14e6569764c100000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}} runtime: 0.4120ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b602f14e6569764c100000')}} runtime: 0.4650ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (168.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5040ms Completed 200 OK in 201ms (Views: 190.6ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:10:22 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:10:22 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:10:22 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:10:22 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:10:22 -0500 Started GET "/forums/" for ::1 at 2015-01-15 22:10:25 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.4390ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4080ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.4680ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3370ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605fa4e65697843030000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4330ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3590ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605e74e65697843010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4960ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.4610ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.5310ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.5130ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4340ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (40.9ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6700ms Completed 200 OK in 67ms (Views: 63.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-15 22:10:25 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-15 22:10:25 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-15 22:10:25 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-15 22:10:25 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-15 22:10:25 -0500 Started GET "/forums/" for ::1 at 2015-01-16 23:39:41 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1100ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.2740ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.5130ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.6830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.1200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8680ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.3570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.5390ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.8640ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.4940ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605fa4e65697843030000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.4630ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605e74e65697843010000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4040ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.6890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.4390ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "user_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (168.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54b216624e65694a2c030000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 2.0530ms Completed 200 OK in 271ms (Views: 228.0ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-16 23:39:41 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-16 23:39:41 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-16 23:39:41 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-16 23:39:41 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-16 23:39:41 -0500 Started GET "/forums/topics/54b9936e4e6569bf00080000" for ::1 at 2015-01-18 11:29:50 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b9936e4e6569bf00080000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b9936e4e6569bf00080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.0590ms Completed 404 Not Found in 53ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Topic with id(s) 54b9936e4e6569bf00080000. Summary: When calling MongoidForums::Topic.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): 54b9936e4e6569bf00080000 ... (1 total) and the following ids were not found: 54b9936e4e6569bf00080000. Resolution: Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.): mongoid (4.0.0) lib/mongoid/criteria.rb:475:in `check_for_missing_documents!' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:20:in `execute_or_raise' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:40:in `find' mongoid (4.0.0) lib/mongoid/findable.rb:90:in `find' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/topics_controller.rb:77:in `current_resource' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:38:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (28.9ms) Started GET "/forums/topics" for ::1 at 2015-01-18 11:29:56 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"topics"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>"topics"} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.9640ms Completed 404 Not Found in 14ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) topics. Summary: When calling MongoidForums::Forum.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): topics ... (1 total) and the following ids were not found: topics. Resolution: Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.): mongoid (4.0.0) lib/mongoid/criteria.rb:475:in `check_for_missing_documents!' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:20:in `execute_or_raise' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:40:in `find' mongoid (4.0.0) lib/mongoid/findable.rb:90:in `find' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:10:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (17.5ms) Started GET "/forums/" for ::1 at 2015-01-18 11:29:58 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.3200ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6070ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7900ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.1950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8570ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.6020ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.5080ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (52.9ms) Completed 500 Internal Server Error in 70ms ActionView::Template::Error (undefined method `id' for nil:NilClass): 38: %td 39: = posts_count(forum) ? posts_count(forum) : "None" 40: %td 41: = forum.unread_topic_count(mongoid_forums_user) 42: %td 43: = forum.views_count ? forum.views_count : "None" /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/forum.rb:18:in `unread_topic_count' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:41:in `block (2 levels) in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__3550693249273118817_70214407663580' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:22:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__3550693249273118817_70214407663580' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml__3550693249273118817_70214407663580' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.4ms) Started GET "/forums/topics" for ::1 at 2015-01-18 11:32:39 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"topics"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8940ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>"topics"} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3190ms Completed 404 Not Found in 48ms Mongoid::Errors::DocumentNotFound ( Problem: Document(s) not found for class MongoidForums::Forum with id(s) topics. Summary: When calling MongoidForums::Forum.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): topics ... (1 total) and the following ids were not found: topics. Resolution: Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.): mongoid (4.0.0) lib/mongoid/criteria.rb:475:in `check_for_missing_documents!' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:20:in `execute_or_raise' mongoid (4.0.0) lib/mongoid/criteria/findable.rb:40:in `find' mongoid (4.0.0) lib/mongoid/findable.rb:90:in `find' /Users/neiljohari/Desktop/Business/mongoid_forums/app/controllers/mongoid_forums/forums_controller.rb:10:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (31.1ms) Started GET "/forums/" for ::1 at 2015-01-18 11:33:29 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.6490ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.4120ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (57.7ms) Completed 500 Internal Server Error in 79ms ActionView::Template::Error (undefined method `id' for nil:NilClass): 38: %td 39: = posts_count(forum) ? posts_count(forum) : "None" 40: %td 41: = forum.unread_topic_count(mongoid_forums_user) 42: %td 43: = forum.views_count ? forum.views_count : "None" /Users/neiljohari/Desktop/Business/mongoid_forums/app/models/mongoid_forums/forum.rb:18:in `unread_topic_count' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:41:in `block (2 levels) in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2784902148345316838_70324024060900' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:22:in `block in ___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2784902148345316838_70324024060900' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `block in each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/cursor.rb:28:in `each' moped (2.0.3) lib/moped/query.rb:77:in `each' mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each' mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_forums_index_haml___2784902148345316838_70324024060900' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.6ms) Started GET "/" for ::1 at 2015-01-18 11:33:42 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.3ms) Rendered partials/_nav.haml (1.6ms) Completed 200 OK in 58ms (Views: 57.9ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-18 11:33:42 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-18 11:33:42 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-18 11:33:42 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-18 11:33:42 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-18 11:33:42 -0500 Started GET "/users/sign_in" for ::1 at 2015-01-18 11:33:43 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (6.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (26.7ms) Rendered partials/_nav.haml (0.3ms) Completed 200 OK in 55ms (Views: 52.0ms) Started POST "/users/sign_in" for ::1 at 2015-01-18 11:33:46 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"C55YOxhrFRRI8IazE39yp9/C4RXbRkPFNvLVyYcFrWrBBSmobOd2vyXrQup0gtNKGxSLmJLR9PMwYaKr03+ZKg==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"neilj.ny@gmail.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2720ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"last_sign_in_at"=>2015-01-16 03:04:29 UTC, "current_sign_in_at"=>2015-01-18 16:33:46 UTC, "sign_in_count"=>19}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5910ms Redirected to http://localhost:3000/ Completed 302 Found in 98ms Started GET "/" for ::1 at 2015-01-18 11:33:46 -0500 Processing by WelcomeController#index as HTML Rendered welcome/index.html.erb within layouts/application (0.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms Rendered partials/_nav.haml (1.5ms) Completed 200 OK in 21ms (Views: 21.4ms) Started GET "/forums/" for ::1 at 2015-01-18 11:33:52 -0500 Processing by MongoidForums::ForumsController#index as HTML MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.8060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b605ac4e65697843000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.4170ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}} runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.4860ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9360ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b7204d4e6569842c010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3420ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.4880ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605fa4e65697843030000')}} runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605fa4e65697843030000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('54b162224e65691fd7000000')}, "$orderby"=>{"order"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3300ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605e74e65697843010000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b605e74e65697843010000')}} runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.6270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.9180ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('54b2a3dd4e65694fb8230000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.4720ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('54b163bf4e656920a7000000')}} runtime: 0.9320ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b163bf4e656920a7000000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5860ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (45.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.8520ms Completed 200 OK in 94ms (Views: 70.5ms) Started GET "/forums/54b605f64e65697843020000" for ::1 at 2015-01-18 11:33:54 -0500 Processing by MongoidForums::ForumsController#show as HTML Parameters: {"id"=>"54b605f64e65697843020000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b605f64e65697843020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5850ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5370ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('54b605f64e65697843020000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3650ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d0114e65699093000000')} update={"$set"=>{"past_viewed_at"=>2015-01-16 03:08:01 UTC, "current_viewed_at"=>2015-01-18 16:33:54 UTC, "updated_at"=>2015-01-18 16:33:54 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5240ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.9950ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1320ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.3770ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (17.8ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4780ms Completed 200 OK in 55ms (Views: 42.0ms) Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-18 11:33:55 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b605f64e65697843020000'), "_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1670ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4970ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6280ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$set"=>{"past_viewed_at"=>2015-01-15 23:22:07 UTC, "current_viewed_at"=>2015-01-18 16:33:55 UTC, "updated_at"=>2015-01-18 16:33:55 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.0090ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5970ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7370ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 2.1480ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.6460ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.9010ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4550ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.3ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (28.9ms) Completed 500 Internal Server Error in 53ms ActionView::Template::Error (uninitialized constant MongoidForums::Sanitizer): 15: - if post.reply_to_id 16: = render :partial => 'mongoid_forums/posts/quoted', :locals => {:post => post} 17: %br 18: = mongoid_forums_format(post.text) 19: %br 20: %hr /Users/neiljohari/Desktop/Business/mongoid_forums/app/helpers/mongoid_forums/formatting_helper.rb:8:in `as_formatted_html' /Users/neiljohari/Desktop/Business/mongoid_forums/app/helpers/mongoid_forums/application_helper.rb:6:in `mongoid_forums_format' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:18:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml__3976112465215004690_70324067079780' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:12:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml___4015575698189078288_70324066916940' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.9ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.0ms) Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-18 11:36:10 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9230ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6560ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6060ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b605f64e65697843020000'), "_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1830ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7350ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6190ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$set"=>{"past_viewed_at"=>2015-01-18 16:33:55 UTC, "current_viewed_at"=>2015-01-18 16:36:10 UTC, "updated_at"=>2015-01-18 16:36:10 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7180ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7390ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8680ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 3.4090ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 1.1650ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6120ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (58.4ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (141.3ms) Completed 500 Internal Server Error in 266ms ActionView::Template::Error (undefined method `forem_emojify' for #<#:0x007fa7ea455a58>): 15: - if post.reply_to_id 16: = render :partial => 'mongoid_forums/posts/quoted', :locals => {:post => post} 17: %br 18: = mongoid_forums_format(post.text) 19: %br 20: %hr /Users/neiljohari/Desktop/Business/mongoid_forums/app/helpers/mongoid_forums/application_helper.rb:6:in `mongoid_forums_format' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml:18:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_posts__post_haml__2404152010719232586_70179627392640' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:436:in `block in collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `map' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:432:in `collection_with_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:324:in `render_collection' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:306:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:305:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml' haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml:12:in `___sers_neiljohari__esktop__usiness_mongoid_forums_app_views_mongoid_forums_topics_show_haml__26493415300137520_70179582994240' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/railtie.rb:194:in `public_send' railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.2ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (28.7ms) Started GET "/forums/topics/54b717674e65697e5f010000" for ::1 at 2015-01-18 11:37:33 -0500 Processing by MongoidForums::TopicsController#show as HTML Parameters: {"id"=>"54b717674e65697e5f010000"} MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0890ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5090ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_ranks selector={"$query"=>{"members"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6480ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7710ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('54b605f64e65697843020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5930ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('54b605f64e65697843020000'), "_id"=>BSON::ObjectId('54b717674e65697e5f010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5810ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0070ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$inc"=>{"count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4860ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('54b717674e65697e5f010000')} update={"$inc"=>{"views_count"=>1}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3950ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('54b7d2104e656990f6010000')} update={"$set"=>{"past_viewed_at"=>2015-01-18 16:36:10 UTC, "current_viewed_at"=>2015-01-18 16:37:33 UTC, "updated_at"=>2015-01-18 16:37:33 UTC}} flags=[] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.8300ms MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')} update={"$set"=>{"read"=>true}} flags=[:multi] COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.9080ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9450ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('54b717674e65697e5f010000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "unsubscribed"=>false}} runtime: 0.6330ms MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}} runtime: 0.3840ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('54b717674e65697e5f010000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7270ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4730ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b7176c4e65697e5f050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('54b7176c4e65697e5f050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('543bc9ce6e65691bff000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0820ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_quoted.haml (7.0ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54b216624e65694a2c030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7440ms Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (46.5ms) Rendered /Users/neiljohari/Desktop/Business/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (116.2ms) MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('543bc9ce6e65691bff000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6160ms Completed 200 OK in 300ms (Views: 187.4ms) Started GET "/assets/scaffold-2d8b7094fa8d1b1a8fd721ea2dd07e0e.css?body=1" for ::1 at 2015-01-18 11:37:33 -0500 Started GET "/assets/welcome-cd88f31488e05ff408c89482270cd472.css?body=1" for ::1 at 2015-01-18 11:37:33 -0500 Started GET "/assets/application-76dc34890359ce0818f594ca04108c5b.js?body=1" for ::1 at 2015-01-18 11:37:33 -0500 Started GET "/assets/welcome-520f000de9c4179bc5a11504b602dff1.js?body=1" for ::1 at 2015-01-18 11:37:34 -0500 Started GET "/assets/application-28976ceac9dd00a4bc1d8bfd6ea6d4f8.css?body=1" for ::1 at 2015-01-18 11:37:34 -0500